[REBOL] Re: Rebol FAQ and Rebol Seek
From: rotenca:telvia:it at: 15-Sep-2002 18:31
Hi Scott,
> This seems to be an error that has been mentioned frequently, and just as
> often mentioned that it is curious that it hasn't yet been fixed. It is the
> "binary" refinement that causes the error.
...
> But this work-around misses the point that skip should be fixed for binary
> files. Maybe the error/bug should be resubmitted to feedback.
> Hope this helps clarify the mystery.
Thanks, it is strange that also in the new betas 1.2.5 and 1.2.8 the bug is
the same.
About Copy/part, it does not work when you want to write to the file (the
work-around is read-io, see
http://www.escribe.com/internet/rebol/m25388.html).
Now i realize that also the only /direct refinement creates problems to the
writing offset:
write f: %myfile.txt "abc"
file: open/direct f 1
skip file 1
insert file "k"
close file
read f ;== "abck"
---
Ciao
Romano