1. Re: we need official libs : Swap
- Posted by Roderick Jackson <rjackson at CSIWEB.COM>
Jul 20, 1999
-
Last edited Jul 21, 1999
Lucius L. Hilley III wrote:
>Oh, and about this:
>{s[2..3], s[1]} = {1, 2, 3}--Error mismatch sequence.
>Should use
>s[2..3] & s[3] = {1, 2, 3}-- There is your swap AND
> -- it is still in sequence form.
Whoa, no cheating... now you're trying to promote two seperate
constructs that do the same thing.
(Unless what you're illustrating
is that *anything* that evaluates to a sequence is legal on the
left-hand side. PLEASE don't tell me that that's what you're truly
proposing...)
Rod