6.0

Table Of Contents
80
Language Reference
4
crlf(0.125)
show('at 8 LPI.')
crlf(0.5)
show('While these lines are displayed')
crlf(0.5)
show('at 2 LPI')
Current (system object)
This object includes a set of system variables reflecting the current state of the document. All of these
variables are read-only and therefore cannot be changed using the set command, except where noted. You
can access each property individually using the same syntax.
Syntax
&current.property integer, measure value
Properties
datapage — Integer value containing the page number of the current data page, or the number of the
current record set in the case of a database emulation.
line — Integer value containing the line number of the current line of data within the data page, or the
number of the current record within the record set. This value is read-write and can be modified using the
set command.
lpp — Integer value containing the number of lines per page in the current data page. In database
emulation, this value can also be used in place of the subreccount() function to determine how many
records a record set contains.
mediacolor — String value containing the color set in the Media color box of the Page dialog box for the
current document page, or, if no value is set in that box, the color set in the Media color box in the
Document dialog box for the document. The Media color box appears when you select Media selection in
the Selection type box. Recall that the Media color box specifies the color of paper.
mediatype — String value containing the type set in the Media type box of the Page dialog box for the
current document page, or, if no value is set in that box, the type set in the Media type box in the Document
dialog box for the document. The Media type box appears when you select Media selection in the Selection
type box. Recall that the Media type box specifies the type of paper (plain, coated, etc.).
mediaweightInteger value containing the weight set in the Media weight box of the Page dialog box for
the current document page, or, if no value is set in that box, the weight set in the Media weight box in the
Document dialog box for the document. The Media weight box appears when you select Media selection
in the Selection type box. Recall that the Media weight box specifies the weight of paper, in grams per
square meter.