loc()

ファイルの読み取り・書き込み指示位置を返します。

文法:
loc( stream )

stream は以前に open コマンドで開かれたファイルです。

用例:
open "myfile.txt" for input as 1
while eof(1)=0
position = loc( 1 )
fprints("位置:"+str$(position)+" - ")
file input #1,a$
prints(a$)
end while
close 1
waitKey

seek() コマンドを参照してください。