Changeset 163 for trunk/SRC/Utilities


Ignore:
Timestamp:
08/29/06 14:59:46 (18 years ago)
Author:
navarro
Message:

header improvements : type of parameters and keywords, default values, spell checking + idldoc assistant (IDL online_help)

Location:
trunk/SRC/Utilities
Files:
15 edited

Legend:

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

    r136 r163  
    66; write an idl procedure, compile it and execute it. 
    77; 
    8 ; @param command {in}{required}  
     8; @param command {in}{required}{type=string array} 
    99; a string array defining the procedure to be created.  
    1010; each element will be a line of the created procedure. 
  • trunk/SRC/Utilities/find.pro

    r152 r163  
    1313; @categories find a file 
    1414; 
    15 ; @param filein {in}{required}  
     15; @param FILEIN {in}{required}  
    1616; A scalar or array variable of string type, containing 
    1717; file names to match. Input names specifications may contain 
  • trunk/SRC/Utilities/fitintobox.pro

    r157 r163  
    1 ;------------------------------------------------------------ 
     1 ;------------------------------------------------------------ 
    22;------------------------------------------------------------ 
    33;------------------------------------------------------------ 
     
    7070; Compatibility 
    7171; 
    72 ; @param field {in}{required} an array or a structure that can be read by the function                 
    73 ;     litchamp.pro 
     72; @param field {in}{required}{type=array or struct} 
     73; an array or a structure that can be read by the function                 
     74; litchamp.pro 
    7475;  
    7576; @param nx {in}{optional}{default=define by grille.pro} 
  • trunk/SRC/Utilities/isadirectory.pro

    r136 r163  
    99; @categories io 
    1010; 
    11 ; @param directoryin {in}{optional}  
     11; @param DIRECTORYIN {in}{optional}  
    1212; a proposed directory. If neither dirname 
    1313; input parameter of IODIRECTORY keyword are defined, 
  • trunk/SRC/Utilities/isafile.pro

    r136 r163  
    99; @categories io 
    1010; 
    11 ; @param filein {in}{optional}  
     11; @param FILEIN {in}{optional}  
    1212; a proposed name. If neither filein input parameter of filename keyword are  
    1313; defined, the ask the user to choose a file. 
  • trunk/SRC/Utilities/linearequation.pro

    r157 r163  
    1212 ;Utilities 
    1313;  
    14 ; @param point1 {in}{required}  
     14; @param POINT1 {in}{required}  
    1515; This is the first point of(the) straight line(s) whose we want to calculate  
    1616; equation(s) 
    1717; 
    18 ; @param point2 {in}{required}  
     18; @param POINT2 {in}{required}  
    1919; This is the second point of(the) straight line(s) whose we want to calculate 
    2020; equation(s) 
  • trunk/SRC/Utilities/lineintersection.pro

    r157 r163  
    1111; Utilities 
    1212;  
    13 ; @param abc1 {in}{required}  
    14 ; is the first table of dimension 3, number_of_pairs_of_straight_lines,  
     13; @param ABC1 {in}{required}{type=3d array} 
     14; is the first array of dimension 3, number_of_pairs_of_straight_lines,  
    1515; whose each line contain the 3 parameters a,b and c of the first linear  
    1616; equation of the type ax+by+c=0 
    1717; 
    18 ; @param abc2 {in}{required}  
    19 ; is second table of dimension 3, number_of_pairs_of_straight_lines,  
     18; @param ABC2 {in}{required}{type=3d array} 
     19; is second array of dimension 3, number_of_pairs_of_straight_lines,  
    2020; whose each line contain the 3 parameters a,b and c of the second linear  
    2121; equation of the type ax+by+c=0 
    2222; 
    2323; @keyword FLOAT  
    24 ; To return the output as a table of real numbers instead of vectors of  
     24; To return the output as a array of real numbers instead of vectors of  
    2525; complex (by default) 
    2626; 
     
    2929;      1) by default: it is a vector of complex whose each element is the coordinates  
    3030;                     of the intersection point of a pair of straight lines. 
    31 ;      2) if FLOAT is activated, it is a table of reals of dimension 2,  
     31;      2) if FLOAT is activated, it is a array of reels of dimension 2,  
    3232;         number_of_pairs_of_straight_lines whose each row is the coordinates  
    3333;         of the intersection point of a pair of straight line. 
  • trunk/SRC/Utilities/protype.pro

    r157 r163  
    99; Utilities 
    1010; 
    11 ; @param file {in}  
     11; @param FILE {in}  
    1212; A scalar of string type, the name of the ".pro" file to be tested 
    1313; if necessary, the input name is completed with '.pro' 
  • trunk/SRC/Utilities/report.pro

    r136 r163  
    99; To ask a question whose answer is not yes/no,use xquestion. 
    1010; 
    11 ; @param text {in}{required}  
     11; @param TEXT {in}{required}  
    1212; one string or one vector of string. Si le string ne 
    1313; comporte qu''un element, on cherche les eventuels characteres de 
     
    1919; and the line of the routine (defined by calling routine_name) 
    2020; 
    21 ; @keyword _extra  
     21; @keyword _EXTRA  
    2222; used to pass keywords from dialog_message.pro and message.pro 
    2323; 
  • trunk/SRC/Utilities/routine_name.pro

    r157 r163  
    1010; Utilities 
    1111; 
    12 ; @param pilingnum {in}{optional} 
     12; @param PILINGNUM {in}{optional} 
    1313; A whole number which give us how many level we have to reascend 
    1414; in the piling up of routines and subroutines to find the looked for routine. 
    15 ; 
    1615; 
    1716; @returns 
     
    2120; @restrictions 
    2221; This function use the keyword OUTPUT in help.pro and it is specified 
    23 ; in the online help that the return syntax of this word can change in 
     22; in the on-line help that the return syntax of this word can change in 
    2423; function of the version of the code. This version works with IDL 5.2. 
    2524; 
  • trunk/SRC/Utilities/testvar.pro

    r157 r163  
    1010; Utilities 
    1111; 
    12 ; @keyword var  
     12; @keyword VAR  
    1313; any kind of 
    1414; 
  • trunk/SRC/Utilities/text_box.pro

    r136 r163  
    1010; ASCII text string containing the message. 
    1111; 
    12 ; @keyword pos   
     12; @keyword POS   
    1313; 4 element vector specifying the box position and size 
    1414; pos[0],pos[1] specify the lower left corner coordinate 
     
    1616; data window normalized coordinates are use 
    1717; 
    18 ; @keyword fg_color 
    19 ; color of box and legend titles (default=0) 
     18; @keyword FG_COLOR {default=0} 
     19; color of box and legend titles 
    2020; 
    21 ; @keyword bg_color  
     21; @keyword BG_COLOR  
    2222; background color. Setting BG_COLOR erases the area  
    2323;               covered by the text box (filling it with color BG_COLOR) 
     
    2626;               gaurantee a readability. 
    2727;                
    28 ; @keyword right  
     28; @keyword RIGHT  
    2929; if set, right justify text 
    3030; 
    31 ; @keyword center  
     31; @keyword CENTER  
    3232; if set, center the text 
    3333; 
    34 ; @keyword vert_space {default=1.5} 
     34; @keyword VERT_SPACE {default=1.5} 
    3535; vertical spacing of lines in units of character height 
    3636; 
     
    3838; used to pass your keyword 
    3939; 
    40 ; @keyword box  
     40; @keyword BOX  
    4141; activate to show the box on graphics window. 
    4242; 
  • trunk/SRC/Utilities/undefine.pro

    r157 r163  
    1212; Utilities   
    1313;  
    14 ; @param varname {in}{required}  
     14; @param VARNAME {in}{required}  
    1515; The name of the variable we want erase 
    1616; 
     
    3737;------------------------------------------------------------ 
    3838;------------------------------------------------------------ 
    39    PRO UNDEFINE, varname   
     39   PRO undefine, varname   
    4040; 
    4141  compile_opt idl2, strictarrsubs 
  • trunk/SRC/Utilities/xfile.pro

    r157 r163  
    1313; Utilities 
    1414; 
    15 ; @param filename {in}{required}  
     15; @param FILENAME {in}{required}  
    1616; It is the name of the procedure or of the function  
    1717; we want to display (with or without .pro at the end). 
    1818; 
    19 ; @keyword _extra  
     19; @keyword _EXTRA  
    2020; used to pass your keywords 
    2121; 
  • trunk/SRC/Utilities/xhelp.pro

    r157 r163  
    77; Widget 
    88; 
    9 ; @param Filename {in}{required}  
     9; @param FILENAME {in}{required}  
    1010; A scalar string that contains the filename of the file to display.   
    1111; If FILENAME does not include a complete path specification, xhelp will  
     
    1414; ".pro" file suffix will be appended if it is not supplied. 
    1515; 
    16 ; @keyword _extra  
     16; @keyword _EXTRA  
    1717; used to pass your keywords 
    1818; 
Note: See TracChangeset for help on using the changeset viewer.