https://github.com/jrincayc/ucblogo-code
Raw File
Tip revision: a3598a9b05befc6afc1e23463262cd9b3aa62501 authored by brianharvey on 14 September 2008, 04:56:48 UTC
Mac can't set bg color of editor (2.6 bug)
Tip revision: a3598a9
rw
READWORD
RW

	reads a line from the read stream and outputs that line as a word.
	The output is a single word even if the line contains spaces,
	brackets, etc.  If the read stream is a file, and the end of file is
	reached, READWORD outputs the empty list (not the empty word).
	READWORD processes backslash, vertical bar, and tilde characters in
	the read stream.  In the case of a tilde used for line continuation,
	the output word DOES include the tilde and the newline characters, so
	that the user program can tell exactly what the user entered.
	Vertical bars in the line are also preserved in the output.
	Backslash characters are not preserved in the output.

back to top