NAME:report
PURPOSE: comme dialog_message.pro si il y a deja des widgets actives
ou comme message.pro si il n''y a pas de widgets actives. pour poser
des question dont la reponse n''est pas oui/non utiliser xquestion
CATEGORY:
CALLING SEQUENCE:res = report(text)
INPUTS: text: un string on un vecteur de string. Si le string ne
comporte qu''un element, on cherche les eventuels characteres de
retour a la ligne: '!C'. If text is set to an array of strings, each
array element is displayed as a separate line of text.
KEYWORD PARAMETERS:
SIMPLE: activate to print only the message without the name
and the line of the routine (defined by calling routine_name)
ceux dialog_message.pro et message.pro avec en +
PARENT qui fait la meme chose que DIALOG_PARENT de dialog_message.pro
OUTPUTS: -1 si le mot cle QUESTION n''est pas activer
si le mot cle est active la fonction retourne 1 pour yes et
0 pour no.
COMMON BLOCKS:
SIDE EFFECTS:
RESTRICTIONS:
EXAMPLE:
si aucun widget n''est active:
IDL> help, report('toto tata')
% $MAIN$: toto tata
INT = -1
IDL> help, report('ca marche ?',/question)
ca marche ? y/n (default answer is y)
BYTE = 1
IDL> help, report('question1: !C ca marche ?',/question)
question1:
ca marche ? y/n (default answer is y)
BYTE = 1
si des widgets sont deja actives, c''est la meme chose mais avec des
widgets!