Hi Sunanda,

Sac> If you are going to use set, you could use a shorter method:
Sac>      set [foo bar baz] copy []
Sac> Another method you will see around is:
Sac>       foo:  bar: baz: copy []

You have to be watch, though, for the distinction between setting each
word to refer to its *own* copy of [] and setting them all to refer to
the *same* copy of [].

Inlining set-word!s is very handy, and safe, for non-series values,
but I don't use it very often for series values.

Sac> I've very occasionally had to extend a function that returned a single value
Sac> to return more than one value...

Yes, another idiom worth discussing. :)


-- Gregg                         

-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.

Reply via email to