Next Previous Up Top Contents Index

4.4 The PRINT module

print-to-string

Function

Summary

Calls print on object.and returns the result as a string.

Signature

print-to-string object #key level length circle? pretty? => result 

Arguments

object
An instance of <object>.

level
#f or an instance of <fixed-integer>. Default value: *print-level*.

length
#f or an instance of <fixed-integer>. Default value: *print-length*.

circle?
An instance of <boolean>. Default value: *print-circle?*.

pretty?
An instance of <boolean>. Default value: *print-pretty?*.

Values

result
An instance of <byte-string>.

Library

io

Module

print

Description

Calls print to produce output according to the print request formed by the keyword arguments and returns the result as a string.


System and I/O Reference - 31 MAR 2000

Next Previous Up Top Contents Index