1669 — 15 October 2019

1669.0

New

Add random file BASIC statement XUNLOKR.

 

XUNLOKR #ch, recno

Parameters

ch is an integer identifying the file; established by the OPEN statement.

Comments

This variation of the UNLOKR statement, parallel in concept to the XREAD and XWRITE variations of READ and WRITE, takes an explicit record number expression rather than implicitly getting the record number from the variable associated with the file OPEN statement.

Note that the appearance of XUNLOKR in a program will set the minimum version requirement in the RUN header to 1669.