Page 1 of 1

File n$ reset or setpos 0

Posted: Sun Jan 18, 2015 3:36 pm
by smbstarv
In my program i want to read a file consisting of one line only.
After a "file n$ readline ln$" instruction, i tried to reset the file with " file n$ reset". With no success.
However "file n$ setpos 0 " did the trick.
My question is , what is the subtle difference.

Re: File n$ reset or setpos 0

Posted: Sun Jan 18, 2015 4:12 pm
by Mr. Kibernetik
Please read introduction in "Files & Folders" section of documentation.
Also please read documentation on "FILES RESET" command.
If something still remains unclear - please ask.

In two words: FILES RESET command is for FILES INPUT command only.

Re: File n$ reset or setpos 0

Posted: Mon Jan 19, 2015 7:22 am
by smbstarv
Documentation is very OK. I just missed that part. Sorry !