This is an old revision of the document!


DISPLAY QUESTION

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 ArithmeticOperation() [ MTITLE <STRING LITERAL> ]

where ArithmeticOperation is the operation that produces a string (usually just a string literal).

 DISPLAY QUESTION 'Do you want to print out a receipt?'

MTITLE key can be used to specify the title of the message box.

The reply of the user can be checked using the Reply attribute of the predefined object Question, for example:

 IF Question.Reply = 'Yes' THEN ...
  • Last modified: 2022/09/13 18:11