source: trunk/SRC/ToBeReviewed/WIDGET/AUTOUR_de_XXX/findline.pro @ 231

Last change on this file since 231 was 231, checked in by pinsard, 17 years ago

improvements/corrections of some *.pro headers

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 441 bytes
Line 
1;+
2;
3; @file_comments
4;
5; @categories
6;
7; @param TOP_UVALUE
8;
9; @param NAME
10;
11; @returns
12;
13; @uses
14;
15; @restrictions
16;
17; @examples
18;
19; @history
20;
21; @version
22; $Id$
23;
24; @todo
25; seb
26;
27;-
28;
29FUNCTION findline, top_uvalue, name
30;
31  compile_opt idl2, strictarrsubs
32;
33   taille = size(top_uvalue)
34   j = -1
35   repeat BEGIN
36      j = j+1
37      if j EQ (size(top_uvalue))[2] then return, -1
38   endrep until *top_uvalue[0, j] EQ name
39   return, j
40end
Note: See TracBrowser for help on using the repository browser.