Changeset 136 for trunk/SRC/Utilities/report.pro
- Timestamp:
- 07/10/06 17:20:19 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SRC/Utilities/report.pro
r134 r136 9 9 ; To ask a question whose answer is not yes/no,use xquestion. 10 10 ; 11 ; @param text {in}{required} un string on un vecteur de string. Si le string ne 11 ; @param text {in}{required} 12 ; one string or one vector of string. Si le string ne 12 13 ; comporte qu''un element, on cherche les eventuels characteres de 13 14 ; retour a la ligne: '!C'. If text is set to an array of strings, each 14 15 ; array element is displayed as a separate line of text. 15 16 ; 16 ; @keyword SIMPLE activate to print only the message without the name 17 ; and the line of the routine (defined by calling routine_name) 17 ; @keyword SIMPLE 18 ; activate to print only the message without the name 19 ; and the line of the routine (defined by calling routine_name) 18 20 ; 19 ; @keyword _extra used to pass keywords from dialog_message.pro and message.pro 21 ; @keyword _extra 22 ; used to pass keywords from dialog_message.pro and message.pro 20 23 ; 21 ; @keyword PARENT same as DIALOG_PARENT de dialog_message.pro 24 ; @keyword PARENT 25 ; same as DIALOG_PARENT de dialog_message.pro 22 26 ; 23 ; @keyword QUESTION Set this keyword to create a "Question" dialog.24 ; The default dialog type is "Warning"27 ; @keyword QUESTION {default="Warning"} 28 ; Set this keyword to create a "Question" dialog. 25 29 ; 26 ; @keyword DEFAULT_NO Set this keyword to make the "No" button the default 27 ; selection for "Question" dialog. Normally, the default is yes. 30 ; @keyword DEFAULT_NO {default="Yes"} 31 ; Set this keyword to make the "No" button the default selection for 32 ; "Question" dialog. 28 33 ; 29 ; @keyword SIMPLE Activate to print the error message without printing 30 ; the routine name with its full path. 34 ; @keyword SIMPLE 35 ; Activate to print the error message without printing the routine name with 36 ; its full path. 31 37 ; 32 ; @returns -1 if the keyword QUESTION is not activated 33 ; If the keyword is activated, return 1 for yes and 0 for no. 38 ; @returns 39 ; -1 if the keyword QUESTION is not activated 40 ; If the keyword is activated, return 1 for yes and 0 for no. 34 41 ; 35 ; @example If there is not any widget activated: 42 ; @examples 43 ; If there is not any widget activated: 36 44 ; 37 ; 38 ; 39 ; 40 ; 41 ; 42 ; 43 ; 44 ; 45 ; 46 ; 45 ; IDL> help, report('toto tata') 46 ; % $MAIN$: toto tata 47 ; <Expression> INT = -1 48 ; IDL> help, report('does it works ?',/question) 49 ; does it works ? y/n (default answer is y) 50 ; <Expression> BYTE = 1 51 ; IDL> help, report('question1: !C does it works ?',/question) 52 ; question1: 53 ; does it works ? y/n (default answer is y) 54 ; <Expression> BYTE = 1 47 55 ; 48 56 ; If widgets are already activated, it is the same thing but with widgets! 49 57 ; 50 ; @history Sebastien Masson (smasson @lodyc.jussieu.fr)58 ; @history Sebastien Masson (smasson\@lodyc.jussieu.fr) 51 59 ; 21/10/1999 52 60 ; 53 ; @version $I D$61 ; @version $Id$ 54 62 ; 55 63 ;-
Note: See TracChangeset
for help on using the changeset viewer.