Presentation is loading. Please wait.

Presentation is loading. Please wait.

What is a Variable? One or more characters preceded by an “&” which, when executed, will be replaced by a saved character string. Example: &date.

Similar presentations


Presentation on theme: "What is a Variable? One or more characters preceded by an “&” which, when executed, will be replaced by a saved character string. Example: &date."— Presentation transcript:

1 What is a Variable? One or more characters preceded by an “&” which, when executed, will be replaced by a saved character string. Example: &date

2 Kinds of Variables Predefined &date, &tod User-defined &name

3 Predefined Variables &date January 1, 2000 &day Monday &month August
&year 2001 &time 2:30 pm &tod morning Say Good &tod, it is &time on &day, &date.

4 Predefined Variables &e Emphasize &w Whisper &m Monotone &n Normal &ca Address context &ce context &r Reset speech tags say My zip is &ca My phone # is 303/ Say Variables are &e way cool.

5 Predefined Variables &Response Speech Recognition
Contains user’s response to your last Listen or ListenFor command

6 User-defined Variables
Form on Tools menu Assign in Script

7 Script Command: Set Format: Examples: Set &varname=string
Set &name=Tom Set &place=Orlando Set &greet=Good &tod, &name.

8 Rules for Variable Names
Always begin with “&” Alphanumeric characters Case-sensitive No spaces No symbols except “_” (shift hyphen)

9 Variable Form

10 Variable Form

11


Download ppt "What is a Variable? One or more characters preceded by an “&” which, when executed, will be replaced by a saved character string. Example: &date."

Similar presentations


Ads by Google