[REBOL] Re: What is the difference...
From: al:bri:xtra at: 12-Dec-2002 12:09
Philipppe wrote:
> Could someone help me about the difference between :
>
> a: [field5/text: "hello" show field5]
> do a ; the change is done
>
> b: compose/deep [(to-set-word join "field" [5 "/text"]) "hello" show
> (to-word join "field" "5")]
> do b ; nothing is done in /View 1.2.03
>
> The a and b block are the same. How Can I make the b-block effective?
Unfortunately the blocks referred to by 'a and 'b aren't the same. Here's a
short console session to show why:
>> type? first [field5/text:]
== set-path!
>> type? first compose [(to-set-word join "field" [5 "/text"])]
== set-word!
Andrew Martin
ICQ: 26227169 http://valley.150m.com/