Hi Gregg,
> Now, the other question is, does ctx-prefs get turned into an object
> automatically, and what causes that? I tried a couple quick tests, but it
> stayed a block. It's easy enough to make an object from the spec, but I'm
> sure you shouldn't have to.
This is where become an object:
system/words/set-user:
func [/wait][
if block? ctx-prefs [ctx-prefs: context ctx-prefs]
ctx-prefs/view-prefs/wait
]
>From a rapid read of the source of the block, i see only function definitions,
word initializations and many layout creations (!). Perhaps is a better thing
to copy the source of functions. Or finding it at run time with something like
(but it should do more error check):
parse ctx-prefs [thru is-win?: to block! set x skip (is-win?: func [] x)]
---
Ciao
Romano
--
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the
subject, without the quotes.