This action displays a question to the user and waits for the reply. The string specified in the action identifying a question is displayed together with the Yes, No and Cancel buttons.
DISPLAY QUESTION
ArithmeticExpression()
[
''MTITLE'' <STRING_LITERAL>
]
[
''YESNAME'' <STRING_LITERAL>
]
[
''NONAME'' <STRING_LITERAL>
]
where
DISPLAY QUESTION 'Do you want to print out a receipt?' YESNAME 'I do' NONAME 'I do not'
The reply of the user can be checked using the Reply attribute of the predefined object Question, for example:
IF Question.Reply = 'Yes' THEN ...