8.18/6/2018

CRLF (procedure)

Moves the current point by simulating a carriage return/line feed combination. The horizontal position is reset to the value of the current left margin, while the vertical position is offset by the leading value specified.

Syntax

crlf( [leading] )

Argument

leading

Measure value setting the vertical distance, in inches, between two lines. If you do not provide this argument, the value by default is 0.167 inches, which is roughly equivalent to a 6 LPI (lines per inch) setting.

Code Sample Example

This example demonstrates how to change the vertical spacing of lines within an object.

Example


margin(1,1)
show('These lines are displayed')
crlf(0.125)
show('at 8 LPI.')
crlf(0.5)
show('While these lines are displayed')
crlf(0.5)
show('at 2 LPI')