Hi Jason,

Anton described the source of your trouble.

OTOH, the words "know" their context (As has been described in
http://www.sweb.cz/LMecir/contexts.html For Anton: see the IN-OBJECT?
function, which can be used for Words, although not for Set-words, etc.)
while they aren't converted to strings. That means, that you can use the
blocks:

    spec: third :request-color
    body: second :request-color

After editing the block using INSERT, CHANGE, PICK etc. you can create a new
version of request-color e.g. like:

    new-request-color: func (load mold spec) body

Cheers
    Ladislav

<<Anton>>
The problem is that request-color is
defined somewhere deep in vid context-land. :)
And this means that some words maybe not
accessible in the global context.
The first one I see is color-lay:

>> color-lay
** Script Error: color-lay has no value
** Near: color-lay

When we just redefine request-color,
its function body block has been defined
in the global context. This means it
can no longer color-lay (also defined
somewhere in vid land).

This could help you

insert second :request-color [print "hello"]

but if you try to use words like color-lay
that are not defined in the global context
(like color-lay) then you will run into trouble.

I think this could work if I knew in which
context request-color was defined:

insert second :request-color bind [
if none? :color-lay [print "hi"]
] 'where-the-heck?

I will need to look through the system object for
a while to find where the heck the context is.

I'd like to make a search tool for that sort
of thing.

Anton.
<</Anton>>

<<Jason>>
> Want to quickly change /View request-color widget.
>
> >> source request-color
>
> Tried some cutnpaste into a new file of my own... load, do,
> attached to
> buttons => nothing doing :-(
>
> What's the basic trick for doing this kind of learn/edit ?
>
>  thanks
> ./Jason
<</Jason>>

-- 
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the 
subject, without the quotes.

Reply via email to