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

[REBOL] Function Context Query

From: robbo1mark:aol at: 3-Dec-2001 10:22

Surely this is incorrect?
>> a: has [b c] [ print b print c] >> a
none none
>> a/local 3 4
3 4 Surely local words default value should be unset until they are defined? Also in the second case is it correct to be able to pass values to local words in this manner? How is the above different from this....
>> use [b c] [print b print c]
** Script Error: b has no value ** Near: print b print c Can somebody please explain the wisdom of this or is it a bug? cheers, Mark Dickson