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

[REBOL] Re: A bug or a feature?

From: jelinem1:nationwide at: 3-May-2001 15:59

I was introduced to 'load to replace using "do read". Since 'load also takes strings and blocks, it can also replace "do to-block". - Michael Jelinek On 04-May-01, [JELINEM1--nationwide--com] wrote:
> FYI when using to-block, the block was being created (as data only), > but in order for the assignment to happen it needed to be executed > (as code). > - Michael Jelinek
I knew it was something like that, but it's hardy intuitive that 'to-block isn't the same as creating a block in the normal manner. As to 'load, I thought it chose the type based on the type the file had been saved as, so I would expect a string to stay a string. I'd seen someone say use 'load instead of 'read to achieve this, but I guess I'd better read up on the details of 'load...