Ignore:
Timestamp:
09/14/07 13:05:09 (17 years ago)
Author:
smasson
Message:

allways return back a scalar is /firstfound used

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SRC/Utilities/protype.pro

    r242 r285  
    4040  compile_opt idl2, strictarrsubs 
    4141; 
    42   filepro = (find(file[0], /onlypro, /firstfound))[0] 
     42  filepro = find(file[0], /onlypro, /firstfound) 
    4343  if filepro EQ 'NOT FOUND' then return, -1 
    4444  name = file_basename(filepro, '.pro') 
Note: See TracChangeset for help on using the changeset viewer.