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.
File n$ reset or setpos 0
- Mr. Kibernetik
- Site Admin
- Posts: 4786
- Joined: Mon Nov 19, 2012 10:16 pm
- My devices: iPhone, iPad, MacBook
- Location: Russia
- Flag:
Re: File n$ reset or setpos 0
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.
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
Documentation is very OK. I just missed that part. Sorry !