Next Prev Up Top Contents Index

stream-advance-to-column

Generic Function
Summary

Writes the required number of blank spaces to ensure that the next character will be written in a given column.

Package

stream

Signature

stream-advance-to-column stream column => result

Arguments

stream

A stream.

column

An integer.

Values

result

A boolean.

Description

The generic function stream-advance-to-column writes enough blank spaces to stream to ensure that the next character is written at column . The generic function returns t if the operation is successful, or nil if it is not supported for this stream.

This function is intended for use by print and format ~t . The default method uses stream-line-column and repeated calls to stream-write-char with a #\Space character, and returns nil if stream-line-char returns nil .

See also

stream-line-column


LispWorks Reference Manual (Windows version) - 14 Dec 2001

Next Prev Up Top Contents Index