Changeset 375
- Timestamp:
- 08/08/08 17:55:40 (16 years ago)
- Location:
- trunk/SRC
- Files:
-
- 14 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SRC/ToBeReviewed/STRUCTURE/chkstru.pro
r371 r375 13 13 ; @param FIELDS {in}{required}{type=string} 14 14 ; A string or string array with field names to 15 ; be contained in STRUCTURE. CHKSTRU returns 1 (true) 16 ; only if all field names are contained in STRUCTURE. 15 ; be contained in STRUCTURE. 16 ; 17 ; CHKSTRU returns 1 (true) only if all field names are contained in STRUCTURE. 18 ; 17 19 ; The entries of FIELDS may be upper or lowercase. 18 20 ; 19 21 ; @keyword INDEX {type=string} 20 22 ; A named variable that will contain the indices of 21 ; the required field names in the structure. They can then 22 ; be assessed through structure.(index[i]) . Index will 23 ; contain -1 for all fields entries that are not in the 24 ; structure. 23 ; the required field names in the structure. 24 ; 25 ; They can then be assessed through structure.(index[i]). 26 ; 27 ; Index will contain -1 for all fields entries that are not in the structure. 25 28 ; 26 29 ; @keyword VERBOSE 27 ; set this keyword to return an error message 28 ; in case of an error. 30 ; set this keyword to return an error message in case of an error. 29 31 ; 30 32 ; @keyword EXTRACT 31 ; set this keyword to extract a fields from the 32 ; structure. -1 is return is fields or structure. are 33 ; incorrect. 33 ; set this keyword to extract a field from the structure. 34 ; -1 is return if field or structure are incorrect. 34 35 ; 35 36 ; @returns 36 ; CHKSTRU returns1 if successful, otherwise 0.37 ; 1 if successful, otherwise 0. 37 38 ; 38 39 ; @examples … … 47 48 ; 48 49 ; @history 49 ; 50 ; 51 ; 50 ; - mgs, 02 Mar 1998: VERSION 1.00 51 ; - mgs, 07 Apr 1998: - second parameter (FIELDS) now optional 52 ; - 12 Jan 2001: EXTRACT keyword by S. Masson (smasson\@lodyc.jussieu.fr) 52 53 ; 53 54 ; @version -
trunk/SRC/ToBeReviewed/STRUCTURE/extractstru.pro
r371 r375 18 18 ; @keyword DELETE 19 19 ; Specify that the given liste concern elements of STRU to be deleted. 20 ; 20 21 ; This keyword is activated by default. 21 22 ; -
trunk/SRC/ToBeReviewed/STRUCTURE/mixstru.pro
r371 r375 2 2 ; 3 3 ; @file_comments 4 ; Concatenate 2 structures together. The difference with CREATE_STRUCT 5 ; is that if the 2 structure have same elements's name, then mixstru 4 ; Concatenate 2 structures together. 5 ; 6 ; The difference with <proidl>CREATE_STRUCT</proidl> 7 ; is that if the 2 structures have same elements's name, then mixstru 6 8 ; do not break down but choose for the common element the value 7 9 ; specified by the first structure. … … 22 24 ; 23 25 ; @restrictions 24 ; If STRU1 or STRU2 is not astructure, mixstru send back -126 ; If STRU1 or STRU2 are not structure, mixstru send back -1 25 27 ; 26 28 ; @examples -
trunk/SRC/ToBeReviewed/STRUCTURE/where_tag.pro
r371 r375 2 2 ; 3 3 ; @file_comments 4 ; Like WHERE but works on structure tag names 4 ; Like <proidl>WHERE</proidl> but works on structure tag names 5 ; 5 6 ; Obtain subscripts of elements in structure array for which 6 7 ; a particular Tag has values in a range or matching specified values. 7 ; Like the WHERE function but for use with structures 8 ; 9 ; Like the <proidl>WHERE</proidl> function but for use with structures 8 10 ; 9 11 ; @categories … … 17 19 ; 18 20 ; @keyword TAG_NUMBER 19 ; Otherwise give the Tag Number ,21 ; Otherwise give the Tag Number 20 22 ; 21 23 ; @keyword RANGE 22 ; [min,max] range to search for in Struct24 ; [min,max] range to search for in STRUCT 23 25 ; 24 26 ; @keyword VALUES 25 ; One or array of numbers to match for in S truct,27 ; One or array of numbers to match for in STRUCT 26 28 ; 27 29 ; @keyword ISELECT … … 38 40 ; @restrictions 39 41 ; User *must* specify (1) TAG_NAME or TAG_NUMBER to search, and (2) 40 ; the VALUES or RANGE to search on ;42 ; the VALUES or RANGE to search on. 41 43 ; 42 44 ; @examples -
trunk/SRC/Utilities/createfunc.pro
r371 r375 15 15 ; to specify a list of keywords that must be included in the 16 16 ; function definition. 17 ; 17 18 ; Warning: the string must start with a ',' 18 19 ; for example: KWDLIST=', TOTO=toto' -
trunk/SRC/Utilities/createpro.pro
r371 r375 14 14 ; to specify a list of keywords that must be included in the procedure 15 15 ; definition. 16 ; 16 17 ; Warning: the string must start with a ',' 17 18 ; for example: KWDLIST=', TOTO = toto' … … 38 39 ; @history 39 40 ; Sebastien Masson (smasson\@lodyc.jussieu.fr) 40 ; cleaning + new keywords: October 2005 41 ; Feb. 2006: supress keyword "kwdused" and use call_procedure instead of execute 41 ; - cleaning + new keywords: October 2005 42 ; - Feb. 2006: supress keyword "kwdused" and use call_procedure instead of 43 ; execute 42 44 ; 43 45 ; @version -
trunk/SRC/Utilities/find.pro
r371 r375 5 5 ; a set of possibles names and a different set of 6 6 ; possibles directories names. 7 ; 7 8 ; By default look for files included in !path 8 9 ; … … 100 101 ; @history 101 102 ; Sebastien Masson (smasson\@lodyc.jussieu.fr) 102 ; 103 ; 104 ; June 2005: Sebastien Masson: cleaning, use for file_* functions103 ; - 28/4/1999 104 ; - 6/7/1999: compatibility mac and windows 105 ; - June 2005: Sebastien Masson: cleaning, use for file_* functions 105 106 ; 106 107 ; @version -
trunk/SRC/Utilities/fitintobox.pro
r371 r375 30 30 ; @history 31 31 ; Sebastien Masson (smasson\@lodyc.jussieu.fr) 32 ; 33 ; 32 ; - 10 juin 2000. 33 ; - June 2005: S. Masson rewrite all. 34 34 ; 35 35 ; @version -
trunk/SRC/Utilities/lineintersection.pro
r371 r375 24 24 ; @returns 25 25 ; 2 possibilities: 26 ; 1) by default: it is a vector of complex whose each element is the coordinates27 ; 28 ; 29 ; 30 ; 26 ; 1) by default: it is a vector of complex whose each element is the 27 ; coordinates of the intersection point of a pair of straight lines. 28 ; 2) if FLOAT is activated, it is a array of reals of dimension 2, 29 ; number_of_pairs_of_straight_lines whose each row is the coordinates 30 ; of the intersection point of a pair of straight line. 31 31 ; 32 32 ; @restrictions -
trunk/SRC/Utilities/report.pro
r372 r375 4 4 ; Like <proidl>DIALOG_MESSAGE</proidl> if there is already some widget 5 5 ; active or like <proidl>MESSAGE</proidl> if there is not any widget active. 6 ; 6 7 ; To ask a question whose answer is not yes/no, use <pro>xquestion</pro>. 7 8 ; 8 9 ; @param textin {in}{required} {type=scalar string or arrays of string} 9 10 ; If textin is a scalar string, we look for the line feed character "!C". 11 ; 10 12 ; If textin is set to an array of strings, each 11 13 ; array element is displayed as a separate line of text. -
trunk/SRC/Utilities/text_box.pro
r327 r375 20 20 ; 21 21 ; @keyword BG_COLOR 22 ; background color. Setting BG_COLOR erases the area 23 ; covered by the text box (filling it with color BG_COLOR) 24 ; prior to writing the text. If both BG_COLOR and !p.color 25 ; are zero then the background color is reset to 255 to 26 ; guarantee a readability. 22 ; background color. 23 ; Setting BG_COLOR erases the area 24 ; covered by the text box (filling it with color BG_COLOR) 25 ; prior to writing the text. If both BG_COLOR and !p.color 26 ; are zero then the background color is reset to 255 to 27 ; guarantee a readability. 27 28 ; 28 29 ; @keyword RIGHT -
trunk/SRC/Utilities/undefine.pro
r371 r375 3 3 ; @file_comments 4 4 ; erase a variable 5 ; 5 6 ; same thing like <proidl>DELVAR</proidl> but usable in a program and usable 6 7 ; for one variable simultaneously … … 37 38 compile_opt idl2, strictarrsubs 38 39 ; 39 40 40 tempvar = SIZE(TEMPORARY(varname)) 41 END -
trunk/SRC/Utilities/xfile.pro
r371 r375 3 3 ; @file_comments 4 4 ; display an ASCII file in a widget. 5 ; 5 6 ; It is the same thing that <proidl>XDISPLAYFILE</proidl> but here, we use it 6 7 ; to display the content of a procedure or of a function located in the !path -
trunk/SRC/Utilities/xhelp.pro
r371 r375 30 30 ; Institute for Computational Earth System Science 31 31 ; University of California, Santa Barbara 32 ; 7/1/99 : legeres modification par Sebastien Masson : utilisation de33 ; <proidl>xdisplayfile</proidl>, de <pro>findfile</pro> et de _extra.34 ; 6/7/1999: compatibility mac and windows32 ; - 7/1/99 : legeres modification par Sebastien Masson : utilisation de 33 ; <proidl>xdisplayfile</proidl>, de <pro>findfile</pro> et de _extra. 34 ; - 6/7/1999: compatibility mac and windows 35 35 ; 36 36 ; @version
Note: See TracChangeset
for help on using the changeset viewer.