| READQUOTE (RQ) | |
| Syntax | READQUOTE RQ (READQUOTE channel) (RQ channel) |
| Explanation | READQUOTE reports 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 and the input stream is the Listener, 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 \ and for retaining the case of characters entered by the user. When CASE is set to FALSE, READQUOTE retains the case of letters that are entered. A channel number may be entered as an optional input. If present, READQUOTE reads from that channel instead of reading from the input stream. This makes it easier to switch among multiple input streams. See also READWORD, READCHAR, READLINE,READPROMPT, and READLIST. |
| Examples | PRINT READQUOTE IBM-PC (entered by the user) IBM-PC (reported by Logo) PRINT READLIST IBM-PC (entered by the user) IBM - PC (reported by Logo) |