Binary/Direct
[1/4] from: lennart::nylen::biz at: 11-Jan-2003 16:23
Hello everyone,
What's the status on the binary/direct bug? Is it still present
in the latest betas of Core and View? If it is, is there a fix or a
functional workaround?
Cheers!
/Lennart Fridén ([lennart--nylen--biz])
The World is not sane so why should I be?
[2/4] from: rebol-list2:seznam:cz at: 12-Jan-2003 23:59
Hello Lennart,
Saturday, January 11, 2003, 4:23:31 PM, you wrote:
LF> Hello everyone,
LF> What's the status on the binary/direct bug? Is it still present
LF> in the latest betas of Core and View? If it is, is there a fix or a
LF> functional workaround?
It's a shame but no:(
And there is more bugs related to open/direct...
...for example is this bahaviour:
write %test "abcdefghijklmnopqrstuvwxyz"
f: open/direct %test
skip f 5
change/part f "1234" 4
close f
print read %test
;== abcdefghijklmnopqrstuvwxyz1234
;shouldn't it be "abcde1234jklmnopqrstuvwxyz" ?
f: open/direct %test
change f "1234"
close f
print read %test
;== 1234efghijklmnopqrstuvwxyz1234
f: open/direct %test
remove/part f 3
close f
print read %test
;== 1234efghijklmnopqrstuvwxyz1234
;shouldn't it be "4efghijklmnopqrstuvwxyz1234" ?
With such a Rebol's functionality it's impossible to work with a really large
files:(
=( Oliva David )=======================( [oliva--david--seznam--cz] )==
=( Earth/Europe/Czech_Republic/Brno )=============================
=( coords: [lat: 49.22 long: 16.67] )=============================
[3/4] from: g:santilli:tiscalinet:it at: 16-Jan-2003 3:38
Hi RebOldes,
On Sunday, January 12, 2003, 11:59:37 PM, you wrote:
R> f: open/direct %test
R> remove/part f 3
R> close f
You can't expect REMOVE to work on /DIRECT files (except if used
at the end of the file maybe). I don't know of any file system
that allows to do that, so even if some do, you would not be able
to do that in the general case.
Regards,
Gabriele.
--
Gabriele Santilli <[g--santilli--tiscalinet--it]> -- REBOL Programmer
Amigan -- AGI L'Aquila -- REB: http://web.tiscali.it/rebol/index.r
[4/4] from: rebol-list2:seznam:cz at: 17-Jan-2003 11:55
Hello Gabriele,
Thursday, January 16, 2003, 3:38:11 AM, you wrote:
GS> Hi RebOldes,
GS> On Sunday, January 12, 2003, 11:59:37 PM, you wrote:
R>> f: open/direct %test
R>> remove/part f 3
R>> close f
GS> You can't expect REMOVE to work on /DIRECT files (except if used
GS> at the end of the file maybe). I don't know of any file system
GS> that allows to do that, so even if some do, you would not be able
GS> to do that in the general case.
Hmm.. you are right, but what about change?
=( Oliva David )=======================( [oliva--david--seznam--cz] )==
=( Earth/Europe/Czech_Republic/Brno )=============================
=( coords: [lat: 49.22 long: 16.67] )=============================