POS=: Difference between revisions

From BR Wiki
Jump to navigation Jump to search
(Created page with "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 eval...")
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
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.
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.
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.