Query()
Query()
Type: REGULAR FUNCTION
Purpose: Ask the operator to answer a multiple-choice question. A dialog box with the choices is displayed, and the script pauses until the operator makes a choice.
The number of choices in a query dialog box is limited by the area on the screen available for the dialog box. We do not recommend more than ten choices.
Usage: Answer = Query(Question, Choice1, Choice2, …, ChoiceN)
Answer | INDEX | A code telling which choice was selected. The answer number is zero-based. The first choice therefore returns zero, not one. |
|
Question | STRING |
The overall question asked. |
|
ChoiceN | STRING | The label for the Nth choice. |
Comments are closed.