https://github.com/jrincayc/ucblogo-code
Raw File
Tip revision: 1eaef7d69d4c5c8c577d7de451cb96ef03fa9756 authored by Joshua Cogliati on 28 March 2023, 01:05:59 UTC
Merge pull request #165 from jrincayc/release_624_changes
Tip revision: 1eaef7d
readword
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