| · | Set the data type of a variable before assigning it a value, for example:
|
|
|
| SET VARIABLE V1 CURRENCY, V2 INTEGER
|
|
|
| · | Enclose text strings in quotation marks.
|
| · | Begin each variable name with the letter v to distinguish variables from column names and constants, for example, v1 or vcounter.
|
| · | Do not give a variable the same name as a column.
|
| · | If the syntax calls for a value, use a dot variable, for example, .v1 or .vnum.
|
| Expression Operators
|
| Expression Data Types
|
| Displaying the Calculated Values of Expressions
|
| Examples of Expressions
|