7.4. Transcript Files


7.4. Transcript Files

A transcript file is a record of an interactive session. It is also useful as a "quick-anddirty" alternative to opening an output file and using explicit output operations.

transcript-on and transcript-off appear in the Revised5 Report but not in the ANSI/IEEE standard.

(transcript-on filename)

procedure

returns: unspecified

filename must be a string.

transcript-on opens the file named by filename for output, and it copies to this file all input from the current input port and all output to the current output port. An error is signaled if the file cannot be opened for output.

(transcript-off)

procedure

returns: unspecified

transcript-off ends transcription and closes the transcript file.




The Scheme Programming Language
The Scheme Programming Language
ISBN: 026251298X
EAN: 2147483647
Year: 2003
Pages: 98

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net