Report system variables

These variables are only meaningful within a !report section. The variables listed under General system variables are also available for use in reports. Note that in the Reference Guide variables are indexed without the “sys.” prefix.

sys.AutoFit

Automatically apply fit() function to print fields

sys.AvgCharWidth

Average width of a character in the current font

sys.CharHeight

Height of current font

sys.FontFlags

Style flags of current font

sys.FontName

Name of current font

sys.FontSize

Size in points of current font

sys.FootLines

Number of lines required for footnotes

sys.Gap

Number of spaces between printed fields

sys.LeftMargin

Left margin indent

sys.LineCount

Total number of lines printed so far

sys.LineHeight

Height of each print line in device units

sys.LineNumber

Current line number on current page

sys.LinesLeft

Number of lines left on current page

sys.MaxCharWidth

Maximum width of a character in the current font

sys.NumCharWidth

Width of a numeric character in the current font

sys.PageLength

Page length in lines

sys.PageNumber

Current page number

sys.PageWidth

Page width in columns

sys.Printer

Printer name

sys.PrinterErrorFunction

Printer error event function

sys.PrintOptions

Options for the Windows print dialog

sys.RecordCount

Number of records selected in the report

sys.TopMargin

Top margin blank lines