Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Re: Skip out to lunch on files ?

From: petr::krenzelok::trz::cz at: 3-Oct-2002 22:53

G. Scott Jones wrote:
>From: "Andy Finkel" >... > >>The FAQ example shows using a command sequence like >> >> file: open/binary/direct %myfile.txt >> skip file 2000 >> >> > >Hi, Andy, > >My apologies. I was not catching on that you meant in reference to file >handling. I guess I should have figured that out from the context. >:-) > >By the way, if you are using network reads, Petr K. figured out that the >following works. Don't ask _me_ why. It seems to be the only exception to >the rule about /skip refinement bug. Curious. It may be a solution to your >problem, depending. > >port: open/direct/binary/no-wait/skip >100 ;skips 100 bytes >
I think it works as it has nothing in common with rebol, no? :-) You just contact web-server and it (e.g. Apache) does it for you. The problem is with local files. IIRC Carl told me on IOS some two months ago that the issues is being looked into. Has anyone tried with /base already? ble: open/direct %huhu.txt insert ble "12345678" close ble ble: open/direct/skip %huhu.txt 5 insert ble "ABC" close ble print read %huhu.txt ==ABC45678 Hmm, so I tried ... apparently still not fixed ... wasn't that bug reported two or so years ago? ;-) -pekr-