FANDOM


Syntax

READLIST

RL

Explanation

READLIST outputs in the form of a list the next line (up to a carriage return) from the input stream. If no line is waiting to be read, READLIST waits for input from the keyboard.

See also READ, READCHAR, READLINE and READQUOTE.

Example

? TO ASKIT

> PR [WHAT ARE YOUR FAVORITE FOODS?]

> MAKE "FOODS READLIST

> PR [I KNOW A RESTAURANT WHERE THEY SERVE]

> PR :FOODS

> PR [THAT WOULD MAKE YOUR MOUTH WATER.]

> END

ASKIT defined.

? ASKIT

WHAT ARE YOUR FAVORITE FOODS?

? JAM, PEACHES, AND BEEF JERKY

I KNOW A RESTAURANT WHERE THEY SERVE

JAM, PEACHES, AND BEEF JERKY

THAT WOULD MAKE YOUR MOUTH WATER.

?

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.