Next Previous Up Top Contents Index

4.5 The PPRINT module

pprint-tab

Function

Summary

Announces a tab to the pretty printer.

Signature

pprint-tab kind colnum colinc stream => ()

Arguments

kind
One of #"line", #"line-relative", #"section", #"section-relative".

colnum
An instance of <fixed-integer>.

colinc
An instance of <fixed-integer>.

stream
An instance of <stream>.

Values

None.

Library

io

Module

pprint

Description

Announces a tab to the pretty printer. The colnum and colinc arguments have meaning based on the value of kind:

#"line"
Tab to output column colnum. If the output is already at or beyond colnum, then add colinc to colnum until printing can continue at a column beyond the end of the output already on the line.

#"line-relative"

Output colnum spaces. Then output enough spaces to tab to a column that is a multiple of colinc from the beginning of the line.

#"section"
Similar to #"line", but column counting is relative to the beginning of the current section rather than the beginning of the line.

#"section-relative"

Similar to #"line-relative", but column counting is relative to the beginning of the current section rather than the beginning of the line.


System and I/O Reference - 31 MAR 2000

Next Previous Up Top Contents Index