Expressions > Syntax rules > Variables in expressions

Temporary variables

Temporary variables allow you to simplify complex calculations by using variables to temporarily store values.

The following rules apply to temporary variables:

The following is an example of using temporary variables:

   RADIUS := 5.0;
   DIAMETER :=2.0 * RADIUS;
   circumference := 3.14 * DIAMETER;