.Linestart Statement--Print Next Text on New Line
The .linestart statement begins the next text to be printed at the current left margin.
This statement has the following format:
.linestart | .lnstart | .linebegin
Description
The .linestart statement changes the position of the current marker for the output line so that the next text printed by the .print statement appears at the current left margin. The left margin is set either by the .lm statement, by default, or by the left edge of the column currently in use while in a .within block. The .linestart statement is useful in reports that use the .tab statement extensively. The .linestart statement always restores the current position marker to a known position, at the beginning of the line.
Example
With .linestart you can return to the beginning of the current line.
.center
.print 'Accounts Receivable for', dept_name
.linestart
.print '(', dept_code, ')'
Last modified date: 08/14/2024