Click to See Complete Forum and Search --> : How to go to the head of a file?


January 31st, 2000, 11:21 AM
Hello,

i have open a file :Open sPath For Input As #1
i read some characteres and after i would want to go back to the head of the file without close and open again the file.

Thank you for your response
Best Regards
Philippe Gendreau

xxMariusxx
January 31st, 2000, 01:22 PM
if you've read them as characters (I'm assuming you used myChar = Input(1,#1) ) then you can do a Seek #1, 1 to return it to the first character in the file.

xxMariusxx

PGendreau
February 2nd, 2000, 02:05 AM
Hello,

Thank you very much for your good response.

Best regards,
Philippe Gendreau