Sub Main
Open "TESTFILE" For Input As #1 ' Open file for reading.
Do While Not EOF(1) ' Loop until end of file.
MyChar = Input(1, #1) ' Read next character of data.
Print Seek(1) ' Print byte position .
Loop
Close #1 ' Close file.
End Sub