BB___LOC

=LOC= toc

Description
> Retrieves the current position of the file pointer for a file opened in Binary access mode. The current position of the pointer is used when writing to or reading from the file.

> See also SEEK.

Syntax

 * 1) loc(//#handle//)

Example
code format="vbnet" ' Usage open "myfile.bin" for binary as #1

'get the current file-pointer position fpos = loc(#1)

'display the current file-pointer position PRINT "File Pointer is currently located at Position "; fpos

'close the file CLOSE #1

code

Useful Functions
code format="vbnet" Place a useful function using this command here code