3.1. assign
Element type | assign |
Attributes | expr | name |
Parents | block | catch | error | filled | help | if | noinput | nomatch |
Children | None. |
Description | Assigns a value to a variable. The variable must have already been declared with a var element or with ECMAScript code, or else this will cause a semantic.error to be thrown. |
DTD
<!ELEMENT assign EMPTY > <!ATTLIST assign name %field.name; #REQUIRED expr %expression; #REQUIRED >
Language model
Attributes
The two attributes of assign represent a key/value pair.
name : field.name
Indicates the name of the ECMAScript variable to be altered.
expr : expression
An ECMAScript expression whose value will be assigned ...
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.