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

[REBOL] Re: reading files into blocks

From: al:bri:xtra at: 8-Nov-2000 16:02

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/