Please think of the poor programmer who comes after you and has to maintain the code. Don't try to cramp everything into one statement, it makes it much harder to read.
A good rule of thumb for readability is that an assignment should (nearly) always be s separate statement, and not part of some expression.
In reply to Re: conditional statement works one way, but not the other
by moritz
in thread conditional statement works one way, but not the other (Updated)
by igoryonya
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |