Was this helpful?
.Lineend Statement--End a Line
The .lineend statement begins the next text to be printed following the last non-blank character on the current line.
This statement has the following format:
.lineend | .lnend
Description
The .lineend statement changes the current position in the output line so that Report-Writer places the text in the next .print statement immediately after the last non-blank character on the line. This is useful in some advanced reports that use the .tab statement extensively. The .lineend statement always moves the current position marker to a position within the current margins of the report.
Example
To print a list of items across the page on the first line of a block:
.block
    .println 'ITEMS:'
    ...
.detail
    .top
    .lineend
    .println ', ', item
Last modified date: 08/28/2024