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

[REBOL] Re: IDIOMS: setting multiple words

From: greggirwin:mindspring at: 9-Oct-2003 15:26

>> set [foo bar baz] copy [] >>
E> You will find that only foo is set set to a block, whereas bar and baz E> are initialized to the value none. This is unlike using E> set [foo bar baz[] 3 ;- (i.e. some non-series value E> where all words will be initialized to the same value. Excellent point Elan! And a great example of how what we *think* is just a different idiom might actually behave differently. -- Gregg