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 |
col | The operand specifies the column which is to accommodate the first digit of If the |
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.