FANDOM


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]

?

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.