After reading about it here in GoogleGroups I’ve started using A && B in 
place of if A B end and A || B for if !A B end. I love it. However, I wish 
the following would work

true  && d,v = svd(rand(2,2))
false || d,v = svd(rand(2,2))

Instead I get ERROR: syntax: invalid assignment locationn The only thing 
that works is:

true  && ((d,v) = svd(rand(2,2)))
false || ((d,v) = svd(rand(2,2)))

Is this a bug or is there an ambiguity I’m not seeing.

Cheers!

Reply via email to