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

Last change on this file since 114 was 114, checked in by smasson, 18 years ago

new compilation options (compile_opt idl2, strictarrsubs) in each routine

  • Property svn:eol-style set to native
  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 254 bytes
Line 
1FUNCTION findline, top_uvalue, name
2;
3  compile_opt idl2, strictarrsubs
4;
5   taille = size(top_uvalue)
6   j = -1
7   repeat BEGIN
8      j = j+1
9      if j EQ (size(top_uvalue))[2] then return, -1
10   endrep until *top_uvalue[0, j] EQ name
11   return, j
12end
Note: See TracBrowser for help on using the repository browser.