bas7qck.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
LOC Function
  Syntax  Details  Example                 Contents  Index  Back
──────────────────────────────────────────────────────────────────────────────
LOC(filenumber%)
 
    ■ filenumber%   The number of an open file or device.
 
Returns
    With random-access files:    The number of the last record read from
                                 or written to the file.
    With sequential files:       The current byte position in the file,
                                 divided by 128.
    With binary mode files:      The position of the last byte read or
                                 written.
 
See Also    LOF    EOF    OPEN (File I/O)    BOF