Your Browser is not longer supported

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

{{viewport.spaceProperty.prod}}

@SEQUENCE (format 2) - Adopt line numbers

&pagelevel(3)&pagelevel

The @SEQUENCE statement (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. If necessary, the number is filled with zeros at the right and left. EDT overwrites any content in the 8 columns in which it writes the line numbers.

Operation

Operands

F mode, L mode

@SEQUENCE

[lines] : [col] : LINE

lines

EDT writes the associated line number in each line of the specified line
range. If the lines operand is missing, EDT writes the associated line
number in each line of the current work file.

col

The operand specifies the column which is to accommodate the first digit of
the associated line number. If a line in the specified line range has fewer
columns than are specified in the col operand then the columns between
the previous line end and the column col are filled with blanks.

If the col operand is missing, EDT writes the first digit of the line number in
column 73.

If the statement is interrupted with [K2] and the EDT session is continued with /INFORM-PROGRAM then the processing of the statement is aborted and message EDT5501 is output.

Example

The associated line number is to be written starting at column 20 in every line of the work file.

The line numbers have been written as 8-digit numbers without a decimal point starting at column 20. The line numbers have been filled on the right and left with zeros as required.