Show pageOld revisionsBacklinksExport to PDFBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== < exit > ====== ===== Description ===== The < exit > element exits the interpreter session and returns control to the interpreter context, which determines what to do next. This element differs from the < return > element in that < exit > terminates all loaded elements while < return > returns from a < subdialog > invocation. ===== Syntax ===== <code> <exit expr="ECMAScript_Expression" namelist="item1 item2 item3..."/> </code> ===== Attributes ===== |expr|The expr attribute is the expression to be evaluated and returned. This attribute is optional and the value is sent to the call control.| |namelist|The namelist attribute indicates variable names to be returned to interpreter context, and returns nothing by default. This attribute is optional.| ===== Parents ===== <code> <block>, <catch>, <error>, <filled>, <help>, <if>, <noinput>, <nomatch> </code> ===== Children ===== <code> None. </code> ===== Extensions ===== <code> None. </code> ===== Limitations/Restrictions ===== <code> None. </code> ===== Example Code ===== <code> <?xml version="1.0"?> <vxml version="2.0" xmlns="http://www.w3.org/2001/vxml"> <error> <prompt>An error has occurred.</prompt> <exit expr="'ERROR'"/> </error> <form> <block> <audio expr="directory+'badaudio.wav'"/> </block> </form> </vxml> </code> developer_guide/voicexml_references/elements/exit.txt Last modified: 2015/10/27 12:29by borja