2.4. VoiceXML variable support
VoiceXML provides the capability of storing values in variables. A var element can declare variables, and an assign element can then be used to assign a value to an already defined variable. In addition several other elements implicitly declare and/or assign values to variables, including field, object, record, initial, subdialog, link, and transfer elements.
VoiceXML variables behave exactly like ECMAScript variables. In fact, the declaration, assignment, and evaluation of VoiceXML variables are typically implemented using an ECMAScript interpreter. The var element type is used to define variables within a form. As part of the FIA's initialization process, any variable that is not initialized will be set to ...
Get Definitive VoiceXML™ now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.