File n$ reset or setpos 0
Posted: Sun Jan 18, 2015 3:36 pm
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.
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.