Re: Generic symbolic sequence assignment
- Posted by Fernando Nov 19, 2011
- 1339 views
bill said...
This whole assignment thing is getting out of hand.
According to the manual (and how much user-code?)
{a,b,c} = {d,e,f} returns {a=d,b=e,c=f}
Surely you don't want to break something as basic as that merely to have multiple and/or generic assignment!
There is no break. That is true only when it represents a comparison (ex.: after an if or while), not an assignment. For example, in the following valid code:
o = o = o
The first '=' is the assignment operator and the second '=' is the equality operator.
- Fernando