source: trunk/WIDGET/AUTOUR_de_XXX/extractatt.pro @ 2

Last change on this file since 2 was 2, checked in by opalod, 22 years ago

Initial revision

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