NextPrevUpTopContentsIndex

with-output-to-string

Macro
Summary

Creates a character output stream, performs a series of operations that may send results to this stream, and then closes the stream.

Package

common-lisp

Signature

with-output-to-string ( var &optional string-form &key element-type ) declaration form => result

Description

The macro with-output-to-string behaves as specified in the ANSI Common Lisp Standard with one exception: the default value of element-type is the value of *default-character-element-type*.

Therefore for strict compliance you must call set-default-character-element-type to set the default string type to character .

See also

compile-file
declare
proclaim
*default-character-element-type*
set-default-character-element-type

 


LispWorks Reference Manual - 12 Mar 2008

NextPrevUpTopContentsIndex