POS=

From BR Wiki
Revision as of 15:36, 8 May 2014 by Laura (talk | contribs)
Jump to navigation Jump to search

The optional "POS=num-expr" clause is used to position to a specified byte before reading. After the numeric expression (usually a simple numeric variable or constant) is evaluated and rounded to an integer, the system reads a complete record beginning at the specified byte number. If "POS=num-expr" is not specified, the system sequentially reads the next complete record after the last byte read.

This clause is used only with external files opened for RELATIVE processing.