A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.lispworks.com/documentation/lw70/CLHS/Body/f_mk_s_2.htm below:

CLHS: Function MAKE-STRING-OUTPUT-STREAM

CLHS: Function MAKE-STRING-OUTPUT-STREAM Function MAKE-STRING-OUTPUT-STREAM

Syntax:

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

Arguments and Values:

element-type---a type specifier. The default is character.

string-stream---an output string stream.

Description:

Returns an output string stream that accepts characters and makes available (via get-output-stream-string) a string that contains the characters that were actually output.

The element-type names the type of the elements of the string; a string is constructed of the most specialized type that can accommodate elements of that element-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 following X3J13 cleanup issues, not part of the specification, apply to this section:
Copyright 1996-2005, LispWorks Ltd. All rights reserved.

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4