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

[REBOL] Re: object funnies

From: al:bri:xtra at: 19-Oct-2001 14:29

Graham wrote:
> test: make object! [ > test1: 1 > > fun: does [ > test2: 2 > test3: 3 > test1: test2 + test3 > ] > ]
Only 'test1 and 'fun are "inside" the object. 'test2 and 'test2 are outside the object. To get what I think you want, you'll need: test: make object! [ test1: 1 test2: test2: none fun: does [ test2: 2 test3: 3 test1: test2 + test2 ] ] I hope that helps! Andrew Martin ICQ: 26227169 http://valley.150m.com/