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

[REBOL] Antwort: Re: reading files into blocks

From: sharriff:aina:med-iq at: 8-Nov-2000 7:31

YESSIR IT DOES HELP!! Thanks Sharriff Aina med.iq information & quality in healthcare AG "Andrew Martin" An: <[rebol-list--rebol--com]> <[Al--Bri--xtra]. Kopie: co.nz> Thema: [REBOL] Re: reading files into blocks Gesendet von: rebol-bounce@ rebol.com 08.11.00 16:02 Bitte antworten an rebol-list Sharriff wrote:
> can someone tell me how to read files as files into blocks?: > > [ file.txt file.zip file.gif file.jpg ] > > using: > fileblock: read/binary %file.zip > > stores binary data which I cannot parse. > > Ideas?
map [ file.txt file.zip file.gif file.jpg ] func [file] [read/binary file] The result will be a block with four big chunks of binary data. I hope that helps! Andrew Martin Map is available on my site: http://members.nbci.com/AndrewMartin/Rebol/ ICQ: 26227169 http://members.nbci.com/AndrewMartin/