READLINE

Syntax

READLINE

Explanation

READLINE outputs the next line (up to a carriage return) from the input stream as a list of ASCII characters. If no line is waiting to be read, READLINE waits for input from the keyboard.

To output characters from the corresponding ASCII codes, use PRINTLINE.

See also READ, READCHAR, READLIST, and READQUOTE.

Examples

? READLINE

? ASCII

Result: [65 83 67 73 73]

? READLINE

? SHOPPING CARTS

Result:[83 72 79 80 80 73 78 71 32 67 65 82 84 83]

? NOCASE

? READLINE

? shopping carts

Result:[115 104 111 112 112 105 110 10 3 32 99 97 114 116 115]

?