XFIN() Function - File Information
Syntax
XFIN(channelno{,ERR=lineref})
Description
The XFIN() function is identical to the FIN() function except for the following:
Nondevice FIN() Data
The XFIN() function returns an 8-byte file length:
Bytes |
Contents |
1,8 |
Current file length in bytes (not valid for all file types). |
MKEYED, XKEYED, and VKEYED File XFIN() Data
Bytes |
Contents |
61,4 |
Default KNUM value. |
65,12 |
$00$'s |
77,4 |
Number of active keys in the file. |
81,4 |
$00$'s |
85,1 |
Default KNUM value MOD 256. |
86 |
Key definition data. |
Key Definition Data
The key definition information is an unlimited number of 20-byte entries using the following fields for each entry:
Following the last segment definition, the next key segment description key number must contain an $FF$ to indicate the end of the next segment list.