SKIP: Mark Selected Lines to Skip in a File

Form: SKIP logical_name line line1,line2 ...
logical_name
is the name of a file opened with the OPEN command.
line
is an arithmetic expression specifying one line in the file to skip.
line1,line2
are two arithmetic expressions giving a range of lines to skip.

SKIP builds a skip table of lines to be skipped inside the named file. The file must have been previously opened using the OPEN command. Up to 50 skip points are available in the table for each opened file. Each individual line skipped counts as one specification and each range of lines skipped counts as two specifications. Whenever a file is OPEN'ed, or reOPEN'ed, its skip table is cleared. REWINDing a file (see the REWIND command) does not clear the skip table. If you just type SKIP logical_name without any lines to skip then the table of skipped lines for the named file is printed.

Lines which are SKIPped in a file can not be read with the READ command or by string substitution and are not used by the STAT command. In particular, note that the number of lines in the file as returned by the STAT command is the actual number of lines minus any skipped lines.

Examples:

SKIP PHOT 1
Marks line 1 of file PHOT to be skipped.
SKIP PHOT 100,120
Marks the range of lines from 100 to 120 to be skipped.
SKIP PHOT 1 100,120
Does both.
SKIP PHOT
Prints the skip table for PHOT.
See the example under the READ command for one use of the SKIP command.