Temporary variables allow you to simplify complex calculations by using variables to temporarily store values.
The following rules apply to temporary variables:
The name of a temporary variable can only use A to Z, a to z, 0 to 9 and _.
The name cannot start with 0-9 and is case insensitive.
To require that variables be declared before use begin the expression with the Option Explicit and VAR and END_VAR statements.
There is no checking that a variable has been assigned before it is used.
Slight misspellings of a variable will result in errors in the expression.
The following is an example of using temporary variables:
RADIUS := 5.0; DIAMETER :=2.0 * RADIUS; circumference := 3.14 * DIAMETER;