FANDOM


Syntax

RUN list

Explanation

RUN runs its input as if it were typed in directly. RUN outputs whatever its list of instructions outputs.

Example

? TO CALCULATOR

> LOCAL "LIST

> TYPE [WHAT CALCULATION DO YOU WISH]

> MAKE "LIST READLIST

> IF EMPTY? :LIST THEN STOP

> (PR "RESULT "\= RUN :LIST)

> CALCULATOR

> END

? CALCULATOR

WHAT CALCULATION DO YOU WISH? 5 + 7

RESULT = 12

WHAT CALCULATION DO YOU WISH? 12 / 4

RESULT = 3

WHAT CALCULATION DO YOU WISH?

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.