1. Re: we need official libs : Swap

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. blink (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

new topic     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu