Re: Multi-assign

new topic     » goto parent     » topic index » view thread      » older message » newer message

$ is fine by me (or the underscore) to serve as a placemarker meaning "ignore me."

What about the case where there are not enough RHS items to complete LHS requests? Or vice versa?

{ a } = { 1, 2, 3 } 
 
{ a, b, c } = { 1 } 
new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu