Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

Treatment of line numbers

&pagelevel(3)&pagelevel

The following statements make it possible to adapt the line numbers and increments in a work file to meet current requirements. It is also possible to store line numbers in variables or number records sequentially.

@

See @SET (format 6).

F mode
L mode

@+

The current line number is increased by the current
increment or, in SEQUENTIAL mode (see the @EDIT
statement), processing switches to the next current line.

L mode

@-

The current line number is reduced by the current increment
or, in SEQUENTIAL mode (see the @EDIT statement),
processing switches to the preceding line number.

L mode

@PAR

Defines the current increment by means of the INCREMENT
operand.

F mode
L mode

@RENUMBER

The lines present in the work file are renumbered. It is
possible to specify both the line number which is to
accommodate the first line in the work file and the increment which
is to be used for renumbering.

F mode
L mode

@SEQUENCE

(Format 1)

Causes EDT to write a number in each line of a contiguous
line range. A predefined number consisting of a maximum
of 8 digits (possibly with leading zeros) is written to the first
line of the line range. This also defines the number of digits
in all the following numbers. All the following numbers are
given by the total of the preceding number plus the
predefined increment.

F mode
L mode

@SEQUENCE

(Format 2)

Causes EDT to write the associated line number in each
line of a contiguous line range. The line number is written as
an 8-digit number without a decimal point.

F mode
L mode

@SEQUENCE

(Format 3)

Causes EDT to examine the content of a column or
contiguous range of columns in each line of a contiguous
line range. It interprets the string it finds there as a binary
number and checks whether the binary numbers form an
ascending sequence.

F mode
L mode

@SET

(Format 3)

Assigns a value to a line number variable. This value may
consist of: a line number specification, the value of an
integer variable, the specification of a line number as a
string or the binary value of the first 4 bytes in a string.

F mode
L mode

@SET

(Format 6)

Defines the current line number and the current increment
or restores earlier values for the line number and increment.

F mode
L mode