ROPE Language Reference - "get"

The "get" action pops a register reference off the top of the stack, and returns the value held in that register.

For example, to print the value held in $a, the following can be used.

$a get print
get($a) print

Note that many actions that take values from the stack will perform an automatic call to "get" if a variable reference is seen. For example, the following are exactly equivalent..

$a print
$a get print

this is because "print" (like many other actions) de-references registers passed to it. The actions that dont perform this automated "get" are those that need a register reference to be retained. The "put" action is an example.

See Also

put, reg, greg