EVAL

Syntax

EVAL list

Explanation

EVAL evaluates its input like the RUN command. Unlike RUN, however, the outputs of each command are collected into a list. This command is very handy when variables in a list have to be replaced with their values.

Example:

? MAKE "X 100 MAKE "Y 50

? GETXY

Result: [0 0]

? SETXY EVAL [:X :Y]

? GETXY

Result: [100 50]

?