Thanks to all who responded, I finally ended up using bits of each posted
solution to derive the following:
b: 'a
do has [a] compose [set (to-lit-word b) 0]
So simple in hind-sight! ;)
Regards,
Ashley
--
To unsubscribe from this list, just send an email to
[EMAIL PRO
From: Ashley Trüter
Given the following:
>> b: 'a
== a
>> do has [a][set 'a 0]
== 0
>> a
** Script Error: a has no value
** Near: a
>> do has [a][do compose/deep [set [(b)] 0]]
== 0
>> a
== 0
How can I prevent 'compose from binding to the global context?
Hi, Ashley,
I'm not an expert on b
Hi Ashley,
...
>How can I prevent 'compose from binding to the global context?
>
>
>
you can't, because Compose doesn't do any binding. Here is one way,
where Has is allowed to do the binding, but I don't know whether this is
the one you need:
b: 'a
do has [a] compose/deep [do
Hi Ashley,
On Wednesday, April 21, 2004, 4:07:28 PM, you wrote:
>>> b: 'a
AT> == a
>>> do has [a][set 'a 0]
AT> == 0
>>> a
AT> ** Script Error: a has no value
AT> ** Near: a
>>> do has [a][do compose/deep [set [(b)] 0]]
AT> == 0
>>> a
AT> == 0
AT> How can I prevent 'compose from binding to the