NOREC

From BR Wiki
Revision as of 18:13, 24 January 2013 by Laura (talk | contribs) (Created page with "The NOREC error condition can be specified at the end of a program statement and in the Exit statement, but it cannot be used with the ON error statement. ==Error Traps:=== N...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The NOREC error condition can be specified at the end of a program statement and in the Exit statement, but it cannot be used with the ON error statement.

Error Traps:=

NOREC traps the following three types of errors when a file is opened for RELATIVE access with a REC= clause:

1.) The specified record has been deleted.
2.) The number is at least two greater than the last record number of the file (for WRITE).

3.) The number is greater than the last record number in the file (for READ).