[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: multiple variable reference
> | as i've noted to the list, the next version of es will have multiple
> | variable assignment. that is,
> |
> | (x y z) = 1 2 3 4
that's interesting... i implemented exactly the same assignment
semantics for the inferno shell (a kind of extremely simplified es)
but was unaware of the above (consciously, anyway!).
i wasn't sure whether
(a b) = 1
should be an error, or should assign () to b (i chose the latter).
sadly in that shell, i'm unable to take advantage of your "useful side
effect", as "for" is just a command, not part of the syntax (as are
all control-flow statements).
cheers,
rog.
PS. oh, the lists we've forgotten we've subscribed to!