Changeset 285 for trunk/SRC/ToBeReviewed
- Timestamp:
- 09/14/07 13:05:09 (17 years ago)
- Location:
- trunk/SRC/ToBeReviewed/WIDGET/AUTOUR_de_XXX
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SRC/ToBeReviewed/WIDGET/AUTOUR_de_XXX/loadgrid.pro
r232 r285 40 40 meshfile = strtrim(meshfile, 2) 41 41 ; try to find a .pro file with this name... 42 filepro = (find(meshfile[0], /firstfound, /onlypro))[0]42 filepro = find(meshfile[0], /firstfound, /onlypro) 43 43 ; if this is an idl batch file or a procedure 44 44 if filepro NE 'NOT FOUND' THEN BEGIN … … 52 52 ENDCASE 53 53 ENDIF ELSE BEGIN 54 filenc = (find(meshfile[0], /firstfound, /onlync))[0]54 filenc = find(meshfile[0], /firstfound, /onlync) 55 55 if filenc EQ 'NOT FOUND' THEN stop 56 56 listing = 'initncdf, ''' + filenc +'''' -
trunk/SRC/ToBeReviewed/WIDGET/AUTOUR_de_XXX/selectfile.pro
r243 r285 85 85 'meshload':BEGIN 86 86 widget_control, event.id, get_value = filename 87 filename = (find(filename[0], /onlypro, /firstfound))[0]87 filename = find(filename[0], /onlypro, /firstfound) 88 88 if filename EQ 'NOT FOUND' then begin 89 89 widget_control, event.id, set_value = '' … … 150 150 meshload = meshload[0] 151 151 IF meshload EQ '' THEN return 152 meshload = (find(meshload[0], /onlypro, /firstfound))[0]152 meshload = find(meshload[0], /onlypro, /firstfound) 153 153 if meshload EQ 'NOT FOUND' then begin 154 154 widget_control, meshload_id, set_value = ''
Note: See TracChangeset
for help on using the changeset viewer.