Changeset 128 for trunk/SRC/Utilities/createfunc.pro
- Timestamp:
- 07/06/06 16:32:02 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SRC/Utilities/createfunc.pro
r121 r128 3 3 ;------------------------------------------------------------ 4 4 ;+ 5 ; @file_comments write an idl function, compile it and execute it. 5 ; @file_comments 6 ; write an idl function, compile it and execute it. 6 7 ; usefull to avoid the use of execute 7 8 ; 8 ; @param command {in}{required} a scalar string defining the result to be 9 ; @param command {in}{required} a scalar string defining the result to be 9 10 ; given back by the function. (see examples) 10 11 ; 11 ; @keyword FILENAMEIN {in} {default=for_createfunc.pro} 12 ; @keyword FILENAMEIN {in} {default=for_createfunc.pro} 12 13 ; name of the function to be created. 13 14 ; … … 18 19 ; @keyword _EXTRA used to pass your keywords to the created function. 19 20 ; 20 ; @restrictions 21 ; @restrictions 21 22 ; - arguments can be given only through keywords; 22 23 ; - ends the function name with '.pro' if needed. 23 24 ; 24 25 ; @examples 25 ; 26 ; 27 ; 26 ; IDL> print, createfunc('3*2', filename='test') 27 ; IDL> print, createfunc('3*two', filename = 'test' $ 28 ; IDL> , kwdlist ='two = two', two = 2) 28 29 ; 29 30 ; @history Sebastien Masson (smasson\@lodyc.jussieu.fr)
Note: See TracChangeset
for help on using the changeset viewer.