Re: Generic symbolic sequence assignment

new topic     » goto parent     » topic index » view thread      » older message » newer message
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

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

Search



Quick Links

User menu

Not signed in.

Misc Menu