FANDOM


Syntax

READ

Explanation

READ outputs the first object from the input stream. If no object is waiting to be read, READ waits for input from the keyboard. READ outputs EOF if the end of file is reached.

See also READCHAR, READLINE, READLIST and READQUOTE.

Example

? TO GREETING

> PR [WHAT'S YOUR NAME?]

> MAKE "RESPONSE READ

> PR (SE [HI THERE,] :RESPONSE "\!)

> END

GREETING defined.

? GREETING

WHAT'S YOUR NAME?

? ELEANOR

HI THERE, ELEANOR !

? GREETING

WHAT'S YOUR NAME?

? ELEANOR RIGBY

HI THERE, ELEANOR !

RIGBY is not a Logo procedure.

?

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.