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/createpro.pro

    r74 r93  
    33;------------------------------------------------------------ 
    44;+ 
    5 ; NAME:createpro 
     5; write an idl procedure, compile it and execute it. 
    66; 
    7 ; PURPOSE: write an idl procedure, compile it and execute it. 
     7; @param command {in}{required} a string array defining the procedure to be created. each element will be a line of the created procedure.  
    88; 
    9 ; CATEGORY: 
    10 ; 
    11 ; CALLING SEQUENCE:createpro, command 
    12 ;  
    13 ; INPUTS: 
    14 ;      command: a string array defining the procedure to be created. 
    15 ;      each element will be a line of the created procedure.  
    16 ; 
    17 ; KEYWORD PARAMETERS: 
    18 ; 
    19 ;      FILENAMEIN: name of the procedure to be created. 
     9; @keyword FILENAMEIN name of the procedure to be created. 
    2010;      'for_createpro.pro' by default 
    2111; 
    22 ;      KWDLIST: a vector string. to specify a list of keywords that 
     12; @keyword KWDLIST a vector string. to specify a list of keywords that 
    2313;      must be included in the procedure definition. Warning: the string 
    2414;      must start with a ',' for example: KWDLIST = ', TOTO = toto' 
    2515; 
    26 ;      _EXTRA: used to pass your keywords to the created procedure. 
    27 ; 
    28 ; OUTPUTS: none  
    29 ; 
    30 ; COMMON BLOCKS: none 
     16; @keyword _EXTRA used to pass your keywords to the created procedure. 
    3117; 
    3218; SIDE EFFECTS: ends the procedure name with '.pro' if needed 
    3319; 
    34 ; RESTRICTIONS:is not working with functions, use createfunc instead. 
     20; @restrictions is not working with functions, use createfunc instead. 
    3521;              arguments can be given only through keywords 
    3622; 
    37 ; EXAMPLE: 
     23; @examples  
    3824;      IDL> createpro, ['print,''OK'''], filename='test' 
    3925;      IDL> createpro, ['if keyword_set(ok) then print,''OK'' else print, ''No'''] $ 
     
    4329; 
    4430; 
    45 ; MODIFICATION HISTORY:Sebastien Masson (smasson@lodyc.jussieu.fr) 
     31; @history Sebastien Masson (smasson\@lodyc.jussieu.fr) 
    4632; cleaning + new keywords: October 2005 
    4733; Feb. 2006: supress keyword "kwdused" and use call_procedure instead of execute 
Note: See TracChangeset for help on using the changeset viewer.