manpagez: man pages & more
info guile
Home | html | info | man
[ << ] [ < ] [ Up ] [ > ] [ >> ]         [Top] [Contents] [Index] [ ? ]

6.14.10.12 Textual Output

Scheme Procedure: put-char port char

Writes char to the port. The put-char procedure returns

Scheme Procedure: put-string port string
Scheme Procedure: put-string port string start
Scheme Procedure: put-string port string start count

start and count must be non-negative exact integer objects. string must have a length of at least start + count. start defaults to 0. count defaults to (string-length string) - start$. The put-string procedure writes the count characters of string starting at index start to the port. The put-string procedure returns an unspecified value.

Scheme Procedure: put-datum textual-output-port datum

datum should be a datum value. The put-datum procedure writes an external representation of datum to textual-output-port. The specific external representation is implementation-dependent. However, whenever possible, an implementation should produce a representation for which get-datum, when reading the representation, will return an object equal (in the sense of equal?) to datum.

Note: Not all datums may allow producing an external representation for which get-datum will produce an object that is equal to the original. Specifically, NaNs contained in datum may make this impossible.

Note: The put-datum procedure merely writes the external representation, but no trailing delimiter. If put-datum is used to write several subsequent external representations to an output port, care should be taken to delimit them properly so they can be read back in by subsequent calls to get-datum.


[ << ] [ < ] [ Up ] [ > ] [ >> ]         [Top] [Contents] [Index] [ ? ]

This document was generated on April 20, 2013 using texi2html 5.0.

© manpagez.com 2000-2024
Individual documents may contain additional copyright information.