To achieve the results you want with a variable or function, you often need to make the variable or function part of an expression. An expression is a statement that produces a result by performing a calculation or carrying out an operation such as placing a value in a variable. You can use expressions in Calculation windows and dialog boxes, and you can embed them in text objects. In addition to variables and functions, you can use operators, numbers, character strings, constants, and comments in an expression.
For example, this expression increases the value of the variable Counter by 1:
Counter := Counter + 1
This expression uses the GetLine function to get the phone number that's stored on the fifth line of the variable ContactInfo and put it in the variable PhoneNumber:
PhoneNumber := GetLine(ContactInfo,5)
To tell Authorware what you want it to do with the variables and functions in an expression, you use operators.
Expressions--step-by-step procedures
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/authorware/7/using_aw_en/09_var52.htm