What is a Variable? One or more characters preceded by an “&” which, when executed, will be replaced by a saved character string. Example: &date
Kinds of Variables Predefined &date, &tod User-defined &name
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.
Predefined Variables &e Emphasize &w Whisper &m Monotone &n Normal &ca Address context &ce E-mail context &r Reset speech tags say My zip is &ca 80401-1118. My phone # is 303/278-2244 Say Variables are &e way cool.
Predefined Variables &Response Speech Recognition Contains user’s response to your last Listen or ListenFor command
User-defined Variables Form on Tools menu Assign in Script
Script Command: Set Format: Examples: Set &varname=string Set &name=Tom Set &place=Orlando Set &greet=Good &tod, &name.
Rules for Variable Names Always begin with “&” Alphanumeric characters Case-sensitive No spaces No symbols except “_” (shift hyphen)
Variable Form
Variable Form