I have to report problems with the File object.
In a text file, f.setPosition(number) doesn't work with either s = f1.read(number) or s = f1.readln(). In both cases, the setPosition does not function, and sometimes will move the pointer to the end of the file when only asked to move it a char or two.
I am attaching a study that will write a short file and then attempt to read it. It is fully documented, so you can understand what I think I am observing.
I'd appreciate any feedback.
Thanks, Bob
In a text file, f.setPosition(number) doesn't work with either s = f1.read(number) or s = f1.readln(). In both cases, the setPosition does not function, and sometimes will move the pointer to the end of the file when only asked to move it a char or two.
I am attaching a study that will write a short file and then attempt to read it. It is fully documented, so you can understand what I think I am observing.
I'd appreciate any feedback.
Thanks, Bob
Comment