Variables
The following variables can be used:
- Real: A numerical value.
- String: A character string. Input in quotation marks e.g. "".
- Point: A coordinate or vector with 3 components. Input in {} format.
- Array: A one-dimensional or multidimensional field. Input e.g. as ““{}.
- Function: An executable function. Input best entered via the special input screen.
- ElementID: The ID of a Classcad object. Output as $31, input as name of the object with no quotation marks.
- List: Displayed as selection list and acts as a number in the Interpreter (index of the list beginning with 0). The selection list is defined as an array via the menu option, e.g. ["","",""].
- Database List: The name from the KISSsoft database is displayed in a selection list. In the Interpreter, this type also acts as a number according to the database ID. The database assignment is defined as an array via the menu option: ["",""]
Each of the variables has a name, a value, an expression and different flags. If an expression is present, the value of the variables is defined via this expression. The expression is therefore particularly suited for the input of formulas. If, in contrast, a formula is entered in place of the value, this formula will be evaluated and the result will be assigned. The actual formula will be lost. The and flags determine how data is exchanged between the two programs. Only variables with the appropriate flag activated will be exchanged.
In the case of functions, the function is placed in the expression, and the value has no meaning.
For the , , , and data types there are additional reference elements and variant elements.