Writing messages to the user
You can write messages to the user with either of the following functions:
- @Prompt
Use the following forms of @Prompt to write messages that will display in a dialog box to the interactive user:
- @Prompt([Ok]; title; prompt) displays an informational dialog box with the title text at the beginning of the box and the prompt text in the body of the box.
- @Prompt([OkCancelList] : [NoSort]; title; prompt; default; choices) displays a box with the title text at the beginning of the box, the prompt text in the body of the box, and the choices text list follows the prompt text. This form of @Prompt is primarily for getting input but can also be used for display. The last parameter must be a text list. The prompt and default parameters can be empty. However, if this statement is not the last statement in the formula and the user clicks Cancel, the rest of the formula is not executed. Do not specify [NoSort] if you want the list sorted.
Non-text values must be converted with @Text to be used as @Prompt parameters. The text values can be constants, temporary variables, fields, or expressions.
- @StatusBar
Use @StatusBar to write messages that will display in the status bar to the user. By writing messages to the status bar you can keep users informed of the internal processing being performed by an application.