Names: variables and points
A variable, by its name, or a point, by its number.
Syntax
L
WIDTH
P2
| Argument | Meaning |
|---|---|
| name | A variable (letters, digits and _; system variables start with #), or P and a point's number. |
Result
The variable's value, or the point's position.
Examples
In the example drawing:
| Expression | Gives |
|---|---|
L |
500 |
W |
300 |
P2 |
[500,300] |
#PI |
3.1416 |
Notes
Names are not case sensitive. Because a point is used by its name, everything defined from it follows it when it moves; the same goes for variables. A name must not be one of the words the expressions use (X, Y, SIN, LEFT …).