[an error occurred while processing this directive]
x
x
in the immediate context~/x
x
in the context one level up/x
x
in the root (topmost) contextx!
pi
is a predefined constant 3.14159. It cannot be redefined
as a variable associated with any context.Type | Example |
---|---|
int | 34 |
real | 10.0 |
char | "abc" |
boolean | true, false |
point | {50, 100}, {modulo @ angle} |
line | [{10,10}, {80, 90}] |
circle | circle(centre, radius), circle({500,500}, 400) |
ellipse | ellipse(centre, major, minor) |
rectangle | rectangle({100, 100}, point1) |
image | I!ImageFile("gif", "hill.gif") |
label | label L1, L2
|
openshape | openshape cross |
within cross {
| |
shape | shape S
|
graph | func sqr { return $1 * $1; }
|