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 7:42

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 Carl Read <[carl--cybercraft--co--nz]>@rebol.com on 05/03/2001 07:12:03 AM From: Carl Read <[carl--cybercraft--co--nz]>@rebol.com on 05/03/2001 07:12 AM Please respond to [rebol-list--rebol--com] Sent by: [rebol-bounce--rebol--com] To: [rebol-list--rebol--com] cc: Subject: [REBOL] Re: A bug or a feature? On 03-May-01, Graham Chiu wrote:
> On Thu, 03 May 2001 20:36:37 +1200 > Carl Read <[carl--cybercraft--co--nz]> wrote: >> >> test: to-block {a: text "hello"} >> == [a: text "hello"] > try test: load {a: text "hello" }
Thanks Graham - that did the trick - and I never wouldn't thought to use load on a string... ! (:
>> And if so, how would you convert a string to a block so >> the 'a: >> above would be set? > -- > Graham Chiu
-- Carl Read [carl--cybercraft--co--nz]