| Genius Manual | ||
|---|---|---|
| <<< Previous | Programming with GEL | Next >>> |
GEL contains references with a C like syntax. & references a variable and * dereferences a variable. Both can only be applied to an identifier, so **a is not legal in GEL.
Example:
a=1; b=&a; *b=2; |
function f(x) = x+1; t=&f; *t(3) |
| <<< Previous | Home | Next >>> |
| Returning | Up | Lvalues |