The prompt statements described in this section are used to define the prompts used by voice applications.
As discussed in Creating prompts, you can either type the
statements that comprise a prompt directly in the Prompt window, or use the Statements menu to select the required prompt statements.
Statements are added or inserted following the statement where the cursor
is positioned.
If you want to use the Prompt window's Statements menu to
define your prompt, you need to create a New prompt (or Open an existing prompt), then click the action from the Statements menu
that corresponds to the statement you require:
- Click Local Variables to add a parameter at the cursor or to
a LOCAL statement.
- Click Input Parameters to add a parameter at the cursor or to
an INPUT statement.
- Click System Variables to add a system variable at the cursor.
- Click Conditional to specify the following conditional statements:
- IF condition THEN
- ELSEIF condition THEN
- WHILE condition DO
- ELSE.
- Click Case to test multiple conditions of the same variable using
the CASE statement.
- Click Assignment to assign a value to a variable.
- Click Return to indicate a successful prompt with the defined
message in a RETURN statement.
- Click Abort to indicate an unsuccessful prompt with the defined
message in an ABORT statement.
- Click Call Prompt to call another prompt from within the same
prompt directory in a PROMPT statement.
- Click Call System Prompt to call a system prompt in a SYSPROMPT
statement.
- Click Voice Segment to refer to a voice segment from a voice
directory in a VOICE statement.
- Click Voice Table to refer to a voice segment from a voice table
in a TABLE statement.
- Click Greeting to refer to a greeting from an application profile
in a GREETING statement.
- Click Name to refer to an audio name from an application profile
in a NAME statement.
- Click Digits to define a string of digits in a DIGITS statement.
- Click Characters to define a string of characters in a CHARACTERS
statement.