OpenSpeech Browser

Getting Started
Architecture Description
Integration Guide

Copyright (c) 1998-2001 SpeechWorks International, Inc. All Rights Reserved.



VXIjsiResult (*CreateVarExpr)

(struct VXIjsiInterface* pThis,
  VXIjsiContext* context,
  const VXIchar* name,
  const VXIchar* expr)

Create a script variable relative to the current scope, initialized to an expression

Documentation

Create a script variable relative to the current scope, initialized to an expression

NOTE: When there is an expression, the expression is evaluated, then the value of the evaluated expression (the final sub-expression) assigned. Thus an expression of "1; 2;" actually assigns 2 to the variable.

Parameters:
context - [IN] ECMAScript context to create the variable within
name - [IN] Name of the variable to create
expr - [IN] Expression to set the initial value of the variable (if NULL or empty the variable is set to ECMAScript Undefined as required for VoiceXML 1.0 )
Returns:
VXIjsi_RESULT_SUCCESS on success

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.