3.5.1.1 Variables

Variables do not act like variables known from common programming languages. In fact, they represent states and act similar to cells known from spreadsheet tools. Variables contain expressions to describe dependencies to other variables. Expressions are values, formulae, or lists. Variables queried by the simulator are called keywords. A simple example of three variables is shown below:

v1     = 5;              // a value
v2     = sqrt(v1) * 4.1; // a formula
v3     = [v1, v2];       // a list

Robert Klima 2003-02-06