The Line Length command is used to get the current line length.

As shown in the script below, you can test to see if the current line length is a specified size and then add text, for example, to the start of the line.

Using the dialog

These commands use the standard Edit Value command dialog.

New Column and Field Information - click here for dialog details.

Example use of Line Length

List of Components
	If "Line Length" is equal to "0"
		Text "COMPONENTS:"
	Component Name
	Component List - New line every 4 Components
If "Line Length" is not equal to "0"
	Test "END"

The report output looks like this:

COMPONENTS U1.7 U3.7 IC1.8 R1.1 END
COMPONENTS C3.2 R4.1 U12.7 TR1.2 END
COMPONENTS X1.1 C11.2 END

Commands | Report Maker