CONVERT SUBSYSTEM - line number options.

Options:

Asis
leaves the text exactly as is.
Insert(n,m)
inserts line numbers, beginning with "n" and incrementing by "m". The default is both "n" and "m" equal to 10. The number fields are at least as wide as the "n" field; for example, "Insert(0010,10)" gives sequence numbers of 0010, 0020, 0030 etc.
label(abcdef(i-j)fghij(i-j)---)
If the "insert", "move" or "resequence" option precedes the "label" option and the output records are one of "comdk", "card", or "acard", then a label (max of five characters) is placed in columns 73-77 of the output records. The labels are put on the records with sequence numbers in the range from i-j.
Move
strips away line numbers from the input text and re-attaches the numbers, depending on the type of output records desired. For "bcd", "print" or "aprint", "move" acts exactly like "strip".
N(<char>)
indicates that Gmap tab-settings (8,16,32,73) have been used in building the input file(s). If a character <char> is specified, the character was used as a tab character when the file was built. If no <char> is given, the ASCII tab character is assumed. The N option implies Move.
Strip
truncates "comdk", "card", and "acard" records at column 72. For "ascii" and "oldasc" records, any line numbers found are thrown away.
Resequence(i,j)
resequences the line numbers by first stripping the input text's numbers then re-numbers, starting from "i" and incrementing by "j". The default for "i" and "j" is 10. If the output file is "bcd", "print" or "aprint", "resequence" is treated exactly like "strip".

Description:

These options exist only with the "comdk", "card", "acard", "oldasc", and "ascii" options. Line numbers for "ascii" and "oldasc" must be among the first eight characters, and must include leading blanks. A "#" in the first eight characters is considered as a delimiter (neither text nor part of the line number). For "comdk", "card" and "acard" records, line numbers are considered to be the trailing digits in columns 73-80. The field may begin with non-numerics, which are treated the same as a '#' in the "ascii" and "oldasc" records.

Be careful not to alter the line numbers when using Basic files.

See Also:

expl convert

expl convert options

expl convert character

expl convert dollar

expl convert miscellaneous

expl convert specialized

expl jdac

expl jrn

expl jprint

Copyright © 1996, Thinkage Ltd.