Return value
-1 if the keyword QUESTION is not activated
If the keyword QUESTION is activated, return 1 for yes and 0 for no.
Parameters
textin
in
required
type: scalar string or arrays of string
Keywords
DEFAULT_NO
default: "Yes"
PARENT
QUESTION
default: "Warning"
SIMPLE
Examples
If there is not any widget activated:
IDL> help, report('toto tata')
% $MAIN$: toto tata
INT = -1
IDL> help, report('does it works ?',/question)
does it works ? y/n (default answer is y)
BYTE = 1
IDL> help, report('question1: !C does it works ?',/question)
question1:
does it works ? y/n (default answer is y)
BYTE = 1
If widgets are already activated, it is the same thing but with widgets!
Version history
Version
$Id: report.pro 327 2007-12-13 16:22:35Z pinsard $
History
Sebastien Masson (smasson@lodyc.jussieu.fr)
21/10/1999
Statistics
McCabe cyclic | 17 |
McCabe essential | 1 |
McCabe modular design | 1 |