Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: How to edit /View mezzanine functions ?

From: arolls:idatam:au at: 19-Nov-2001 16:42

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.