Executable content

Executable content refers to a block of procedural logic—code that instructs the voice browser service to perform a specific task, such as play an audio recording or assign a new value to a variable. In executable content, you can declare and assign values to variables, use simple conditional logic, output speech or audio to the user, perform iterations, or run a script. Executable content appears in:

A <block> form item.

Any <filled> elements in forms and input items.

Event handlers (<catch>, <help>, and so on).

Executable elements are executed in document order in their block of logic. If an executable element generates an error, that error is thrown immediately. Subsequent elements in that block of procedural logic are not executed.