:BEGINREAD... :ENDREAD

Use the :BEGINREAD and :ENDREAD script statements to define the start and end of the contents of a dialog. Include any number of elements between the :BEGINREAD and :ENDREAD statements to define texts and query users in the dialog.

Write :READ statements between the two commands to define user queries. The number of :READ statements determines the size of the dialog. The parameters that you specify in the :READ statements also appearance of the dialog, and the functions of the input fields. Use :PRINT statements to provide information or instructions in the dialog.

Syntax

:BEGINREAD [Label[,F]]

Statements

:ENDREAD

Parameters

Notes:

Important! The dialog is not displayed if the task, or the Workflow that the task runs in, is configured to be generated at runtime. When the dialog is not displayed, default values are used for the :READ statements. If the default values result in invalid responses, script generation is canceled.

More information:

Example

The following example creates a dialog titled Log on, which requests the user to enter their department and name:

:BEGINREAD "Log on"
:
READ &DEP#, "08", "Please enter your department",, M
:
READ &NAME#, "08", "Please enter your name",, M
:
ENDREAD

See also:

seealso

Notification (CALL)

PromptSets (PRPT)

:PUT_READ_BUFFER