The LOF function is used to find the length of an OPEN file in bytes.
totalBytes& = LOF([#]fileNumber)
Finding the number of records in a RANDOM file using a TYPE variable.
OPEN file$ FOR RANDOM AS #1 LEN = LEN(Type_variable) NumRecords% = LOF(1) \ RecordLEN%
There was an error while loading. Please reload this page.
Navigation