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

[REBOL] Re: Context - code included- 2nd version

From: lmecir:mbox:vol:cz at: 15-Sep-2001 0:29

Hi,
> Changing argument: there a reason for which bind doesn't bind to get-words
and
> set-words? Sometime we have of context only that type of word, and i do
not
> know a method to trasfom them in word! preserving binding.
RT didn't provide such a function.
> To end here it is some very little suggestions for your s-c? (argument and > reading): > > same-context?: func [ > { > find out, if the given Words > are bound to the same Context > } > word1 [word!] > word2 [any-word!] ;<<<<<< > ] [ > found? any [ > all [ > special? word1 > special? word2 > ] > all [ > not special? word1 > same? word2 first bind to-block mold word2 word1 ;<<<<<< > ] > ] > ] > > I hope it is correct. > --- > Ciao > Romano >
It is a feasible idea, but it contains bugs that would prevent it to work. I have got a more or less working implementation and will include it to the next version of http://www.sweb.cz/LMecir/contexts.html