Prompt for a Number

Description

The Prompt for a Number action will prompt the user for a number and store it in a character variable. Use the VAL() function on the result to get the number.

Procedure

  1. Select one of the two styles:

    • "Standard dialog". Displays a text box to enter the number.

    • "Calculator style". Displays a text box and calculator buttons.

  2. Optionally, enter the title of the dialog box in the Dialog Title field. Optionally, click the 'xy' button to open the Expression Builder.

  3. If you selected "Standard dialog", optionally enter a prompt that will appear next to the input control in the Prompt field. Optionally, click the 'xy' button to open the Expression Builder.

  4. Enter the name of the variable that will receive the value that the user enters in the Variable Name field. Note that the variable will be of type Character, not Number.

  5. Optionally, enter a default value in the Default Value field.

  6. Click the Test Dialog button to see how it will appear.

  7. Click Next >.

  8. Optionally modify the comment that describes the action.

  9. Click Finish.

See Also