Syntax
VAR arg1 arg2
Description
A new variable is created. Any mathematical expression can be assigned to a variable.
Arguments
Minimum quantity: 1
arg1
Value |
Dimension |
Meaning |
name |
TEXT |
Variable name (The name must satisfy the mathematical rules of the TCL interpreter.); used by "$name" for variables without arguments. A variable can have up to 4 arguments (e.g. "Pythagoras(x,y)") |
arg2
Value |
Dimension |
Meaning |
info |
TEXT |
Descriptive text |
Scopes
CALC
Examples
VAR "hcross" "Vertical distance of the main axis to the secondary axis"
An auxiliary variable "hcross" with access to a table is created.
VAR "Pythagoras(x,y)" "Pythagorean distance"
An auxiliary variable with 2 arguments is created.
|
(C) ALLPLAN GmbH |
Privacy policy |