Next: Coefficient functions Up: Reference Manual Previous: Reference Manual Contents

#
Constants and Variables

Constants and variables are defined as follows:

    define constant pi = 3.1415
    define constant omega = (2 * pi * 10E3)
    define variable t = 0

A constant is given its value at definition. A variable is initialized to an value, but later, its value may be changed from a numproc. An example is the time variable for dynamic problems.

The right hand side can be a constant, or a constant expression. Expressions must be put into brackets. Expressions may contain the following operations: