File: readchars

package info (click to toggle)
ucblogo 6.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 7,560 kB
  • ctags: 4,657
  • sloc: ansic: 16,989; cpp: 3,818; makefile: 187; perl: 3
file content (11 lines) | stat: -rw-r--r-- 488 bytes parent folder | download | duplicates (22)
1
2
3
4
5
6
7
8
9
10
11
READCHARS num
RCS num

	reads "num" characters from the read stream and outputs those
	characters as a word.  If the read stream is a file, and the end of
	file is reached, READCHARS outputs the empty list (not the empty
	word).  If the read stream is a terminal, echoing is turned off
	when READCHARS is invoked, and remains off until READLIST or READWORD
	is invoked or a Logo prompt is printed.  Backslash, vertical bar,
	and tilde characters have no special meaning in this context.