O'Reilly logo

Voice Application Development with VoiceXML by Leon Henry Squire, John O'Reilly, Kenneth Michael Farley, Rick Beasley

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 11. ECMAScript in VoiceXML

IN THIS CHAPTER

Comments

Variable Types

User-Defined Objects

Built-in Objects

Operators

Type Conversion

Controlling Program Execution

Summary

ECMAScript is a client-side scripting language supported by the VoiceXML language. ECMAScript is based on JavaScript 1.1. You have already seen examples of ECMAScript code in the bookstore application in variable declarations, expr attributes, and script elements.

Variables in VoiceXML are typed according to the ECMAScript specification. When used within an expr attribute, ECMAScript provides a mechanism for evaluating operations on variables of various types. When used within a script element, ECMAScript provides programmers with traditional programming ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required