The recordNumItem property refers
to a field that holds the relative number of a record within a file.
This record number identifies
the position at which the I/O takes
place. The field can be any of these areas of memory:
- A structure
field in the same record.
- A structure field in a record that
is global to the program or
is local to the function that accesses the record.
- A primitive
variable that is global to the program or is local
to the function that accesses the record.
You must use an
unqualified reference to specify the record number
field; for example, use
myVar rather than
myRecord.myVar.
(However, in an EGL statement you can reference the record number
field in the same way as any other field.) The record number field
must be unique in the local scope of the function that accesses the
record or must be absent from local scope and unique in global scope.
The record number field must be an integer type of no more than
9 digits.
Only the get and add statements
use the record number field, but the record number field must be available
to all functions that use the record for file access.