POS=: Difference between revisions

From BR Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 2: Line 2:


This clause is used only with [[Open External|external files]] opened for [[RELATIVE]] processing.
This clause is used only with [[Open External|external files]] opened for [[RELATIVE]] processing.
See also [[Pos Parameter]] and [[POS]] internal function.


<noinclude>
<noinclude>
[[Category:All Parameters]]
[[Category:All Parameters]]
</noinclude>
</noinclude>

Latest revision as of 15:37, 8 May 2014

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.

See also Pos Parameter and POS internal function.