Movatterモバイル変換


[0]ホーム

URL:


[LISPWORKS][Common Lisp HyperSpec (TM)][Previous][Up][Next]


FunctionMAKE-STRING-OUTPUT-STREAM

Syntax:

make-string-output-stream&key element-type =>string-stream

Arguments and Values:

element-type---atype specifier. The default ischaracter.

string-stream---anoutputstring stream.

Description:

Returns anoutputstring stream that acceptscharacters and makes available (viaget-output-stream-string) astring that contains thecharacters that were actually output.

Theelement-type names thetype of theelements of thestring; astring is constructed of the most specializedtype that can accommodateelements of thatelement-type.

Examples:

 (let ((s (make-string-output-stream)))   (write-string "testing... " s)   (prin1 1234 s)   (get-output-stream-string s))=>  "testing... 1234"

Affected By: None.

Exceptional Situations: None.

See Also:

get-output-stream-string,with-output-to-string

Notes: None.


The followingX3J13 cleanup issues,not part of the specification, apply to this section:


[Starting Points][Contents][Index][Symbols][Glossary][Issues]
Copyright 1996-2005, LispWorks Ltd. All rights reserved.


[8]ページ先頭

©2009-2025 Movatter.jp