File n$ reset or setpos 0

Post Reply
smbstarv
Posts: 98
Joined: Wed Nov 27, 2013 3:44 pm
My devices: Ipad 6th gen
Flag: Netherlands
Contact:

File n$ reset or setpos 0

Post 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.

User avatar
Mr. Kibernetik
Site Admin
Posts: 4786
Joined: Mon Nov 19, 2012 10:16 pm
My devices: iPhone, iPad, MacBook
Location: Russia
Flag: Russia

Re: File n$ reset or setpos 0

Post 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.

smbstarv
Posts: 98
Joined: Wed Nov 27, 2013 3:44 pm
My devices: Ipad 6th gen
Flag: Netherlands
Contact:

Re: File n$ reset or setpos 0

Post by smbstarv »

Documentation is very OK. I just missed that part. Sorry !

Post Reply