READQUOTE (RQ)

Syntax

READQUOTE

RQ

Explanation

READQUOTE outputs the next line (up to a carriage return) from the input stream as a single Logo name. If no line is waiting to be read, READQUOTE waits for input from the keyboard.

READQUOTE is useful to define names that contain delimiters or characters that would otherwise need to be quoted with \.

See also READ, READCHAR, READLINE and READLIST.

Example

? MAKE "X READQUOTE

? IBM-PC

? PRINT :X

IBM-PC

? MAKE "Y READLIST

? IBM-PC

? PRINT :Y

IBM - PC

?