Held: Tuesday, 28 October 2003
Summary: Today we consider why and how to make Scheme do explicit input and output.
(display val)displays a value, eliminating the quotation marks from around strings.
(newline)procedure that starts a new line of output.
write, that works a lot like
displayexcept that it also displays quotation marks around strings and displays characters with the
write-char, only works with characters.
read, which reads one Scheme value, skipping whitespace as appropriate.
read-char, which reads a single character for input.
readis an interesting procedure. In many cases, it will continue to read for more than one line.
Thursday, 28 August 2003 [Samuel A. Rebelsky]
I usually create these pages
on the fly, which means that I rarely
proofread them and they may contain bad grammar and incorrect details.
It also means that I tend to update them regularly (see the history for
more details). Feel free to contact me with any suggestions for changes.
This document was generated by
Siteweaver on Tue Dec 9 13:59:49 2003.
The source to the document was last modified on Mon Sep 1 13:30:51 2003.
This document may be found at