Changeset 229
- Timestamp:
- 03/16/07 15:13:14 (17 years ago)
- Location:
- trunk/SRC
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SRC/ToBeReviewed/POSTSCRIPT/ps.pro
r165 r229 88 88 ; We rewrite idlsave.pro 89 89 putfile, myuniquetmpdir+'idlsave.pro', vectjournal 90 ; update the list of .pro and .sav in !PATH 91 path_cache, /rebuild 90 92 ; apply idlsave 91 cd, current = curdir92 cd, myuniquetmpdir93 93 @idlsave 94 cd, curdir95 94 ; We reopen the journal and we put in it all elements of vectjournal but the 2 first and the 3 last line. 96 95 journal, myuniquetmpdir+'idlsave.pro' -
trunk/SRC/ToBeReviewed/UTILITAIRE/oups.pro
r157 r229 65 65 ELSE vectjournal[n_elements(vectjournal)-1] = '' 66 66 ; we rewrite idlsave.pro 67 putfile, myuniquetmpdir+'idlsave.pro', vectjournal68 ; we compile, then we apply idlsave69 cd, current = curdir 70 cd, myuniquetmpdir 67 putfile, myuniquetmpdir+'idlsave.pro', vectjournal 68 ; update the list of .pro and .sav in !PATH 69 path_cache, /rebuild 70 ; apply idlsave 71 71 @idlsave 72 cd, curdir73 72 ; the journal has just been reopened, and we put elements of vectjournal in it. 74 73 for i = 0, n_elements(vectjournal)-1 DO $ -
trunk/SRC/ToBeReviewed/UTILITAIRE/vzoom.pro
r157 r229 70 70 ; 71 71 ; we rewrite idlsave.pro 72 putfile, myuniquetmpdir+'idlsave.pro', vectjournal 72 putfile, myuniquetmpdir+'idlsave.pro', vectjournal 73 ; update the list of .pro and .sav in !PATH 74 path_cache, /rebuild 73 75 ; apply idlsave 74 cd, current = curdir75 cd, myuniquetmpdir76 76 @idlsave 77 cd, curdir78 77 ; the journal has just been reopened, and we put in elements of vectjournal. 79 78 for i = 0, n_elements(vectjournal)-1 DO $ -
trunk/SRC/Utilities/createfunc.pro
r224 r229 69 69 , 'return, res' $ 70 70 , 'end'] 71 ; go in dirname directory 72 cd, dirname, current = old_dir 71 ; is dirname in !path? 72 cd, current = here 73 pathlist = [here, strsplit(!path, path_sep(/search_path),/extract)] 74 inpath = total((file_search(dirname))[0] EQ pathlist) 75 IF inpath EQ 0 THEN !path = !path + path_sep(/search_path) + inpath 76 ; update the list of .pro and .sav in !PATH 77 path_cache, /rebuild 73 78 ; compile it 74 79 resolve_routine, shortfilename, /is_function 75 cd, old_dir76 80 ; execute it 77 81 res = call_function(shortfilename, _EXTRA = ex) -
trunk/SRC/Utilities/createpro.pro
r227 r229 79 79 putfile, filename, ['pro ' + shortfilename + kwdlist $ 80 80 , 'compile_opt idl2, hidden, strictarrsubs', command, 'return', 'end'] 81 ; is dirname in !path? 82 cd, current = here 83 pathlist = [here, strsplit(!path, path_sep(/search_path),/extract)] 84 inpath = total((file_search(dirname))[0] EQ pathlist) 85 IF inpath EQ 0 THEN !path = !path + path_sep(/search_path) + inpath 81 86 ; update the list of .pro and .sav in !PATH 82 87 path_cache, /rebuild -
trunk/SRC/buildinit.pro
r223 r229 488 488 ; define the !path 489 489 init = [init, '!path = expand_path(''+'' + '''+myIDL+''') $' $ 490 , ' + '':''+ expand_path(''+'' + '''+saxodir+''') $' $491 , ' + '':''+ expand_path(''+'' + !dir)']490 , ' + path_sep(/search_path) + expand_path(''+'' + '''+saxodir+''') $' $ 491 , ' + path_sep(/search_path) + expand_path(''+'' + !dir)'] 492 492 ; 493 493 ; should we keep the compatibility with the old version?
Note: See TracChangeset
for help on using the changeset viewer.