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

[REBOL] Re: [refactoring s-c?]

From: rotenca::telvia::it at: 14-Mar-2002 14:23

Hi Pat,
> all [ > not undefined? word2 > same? word1 first bind [word1] word2 > ] > ] > ]
1) If you do not get 'word1 o reduce [word1], 'word1 is 'word1, not its value (the real word to test) 2) if 'word1 is not in the context of 'word2, bind does not change it and same? return true.
>> o: context [b: 2] >> same? 'a first bind [a] in o 'b
== true --- Ciao Romano