<exit>

Exits a session.

Syntax

<exit

 

      expr

Not implemented

      namelist

Not implemented

/>

 

Description

Unloads all documents and returns control to the interpreter's execution environment.

Attribute Description
expr

Not implemented. JavaScript expression that evaluates to the value to return to the execution environment. Optional (as alternative to namelist).

namelist

Not implemented. Space-separated list of variable names to return to the interpreter execution environment. Optional (default is to return nothing).

The expr and namelist attributes are not meaningful because the BeVocal interpreter execution context does not accept return values from the execution of a VoiceXML document.

Usage

Parents Children
<bevocal:foreach>
<block>
<catch>
<error>
<filled>
<help>
<if>
<noinput>
<nomatch>

None.

See Also

 •  VoiceXML 2.0 Specification: <exit>

Examples

 <?xml version="1.0" ?>
 <!DOCTYPE vxml PUBLIC "-//BeVocal Inc//VoiceXML 2.0//EN"
  "http://cafe.bevocal.com/libraries/dtd/vxml2-0-bevocal.dtd">
 
 <vxml version="2.0" xmlns="http://www.w3.org/2001/vxml">
   <form id="foo">
     <catch event="connection">
       <log expr="'user said disconnect'"/>
     </catch>
     <field name="choose">
       <grammar type="application/x-nuance-gsl"> 
         [ exit disconnect ] 
       </grammar>
       <prompt>Please say exit</prompt>
     </field>
     <block>
       <if cond="choose=='exit'">
         <exit/>
         <prompt> you should NOT hear this prompt! </prompt>
       </if>
       <disconnect/>
     </block>
   </form>
 </vxml>

[Show Frames]   [FIRST] [PREVIOUS] [NEXT]
BeVocal, Inc. Café Home | Developer Agreement | Privacy Policy | Site Map | Terms & Conditions
Part No. 520-0001-02 | © 1999-2007, BeVocal, Inc. All rights reserved | 1.877.33.VOCAL