Reading and Writing Lines
(read-line stream)
=> “Four score and seven “
;; Signals an error when EOF is reached
(read-line stream nil nil)
;; Returns NIL when EOF is reached
(write-line “We hold these truths “
stream)
;; Writes text and newline marker
Previous slide
Next slide
Back to first slide
View graphic version