Ignore:
Timestamp:
06/07/06 19:12:14 (18 years ago)
Author:
pinsard
Message:

start to modify headers of Calendar and Utilities *.pro files for bet
ter idldoc output

File:
1 edited

Legend:

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

    r74 r93  
    33;------------------------------------------------------------ 
    44;+ 
    5 ; NAME:createfunc 
     5; write an idl function, compile it and execute it. 
     6; usefull to avoid the use of execute 
    67; 
    7 ; PURPOSE: write an idl function, compile it and execute it. 
    8 ;          usefull to avoid the use of execute 
     8; @param command {in}{required} a scalar string defining the result to be byven back by the function. (see examples) 
    99; 
    10 ; CATEGORY: 
    11 ; 
    12 ; CALLING SEQUENCE:res = createfunc(command) 
    13 ;  
    14 ; INPUTS: 
    15 ;      command: a scalar string defining the result to be byven back by the 
    16 ;               function. (see examples) 
    17 ; 
    18 ; KEYWORD PARAMETERS: 
    19 ; 
    20 ;      FILENAMEIN: name of the funccedure to be created. 
     10; @keyword FILENAMEIN {in} name of the funccedure to be created. 
    2111;      'for_createfunc.pro' by default 
    22 ; 
    23 ;      KWDLIST: a vector string. to specify a list of keywords that 
     12; @keyword KWDLIST {in} a vector string. to specify a list of keywords that 
    2413;      must be included in the function definition. Warning: the string 
    2514;      must start with a ',' for example: KWDLIST = ', TOTO = toto' 
    2615; 
    27 ;      _EXTRA: used to pass your keywords to the created function. 
    28 ; 
    29 ; OUTPUTS: none  
    30 ; 
    31 ; COMMON BLOCKS: none 
     16; @keyword _EXTRA used to pass your keywords to the created function. 
    3217; 
    3318; SIDE EFFECTS: ends the function name with '.pro' if needed 
    3419; 
    35 ; RESTRICTIONS:arguments can be given only through keywords 
     20; @restrictions arguments can be given only through keywords 
    3621; 
    37 ; EXAMPLE: 
     22; @examples  
    3823;      IDL> print, createfunc('3*2', filename='test') 
    3924;      IDL> print, createfunc('3*two', filename = 'test' $ 
    4025;                                    , kwdlist ='two = two', two = 2) 
    4126; 
    42 ; MODIFICATION HISTORY:Sebastien Masson (smasson@lodyc.jussieu.fr) 
     27; @history Sebastien Masson (smasson\@lodyc.jussieu.fr) 
    4328;                      May 2005 
    4429;- 
Note: See TracChangeset for help on using the changeset viewer.