In addition to what the other monks have said, I want to mention that you used = in your example. = is for assignment, not comparison. If you're comparing integers, you'll want to use ==. If you're comparing stings, you'll want to use eq.
Note: there are other problems in gogoglou's pseudo example, but I'm choosing to ignore them because they have mostly been addressed.
In reply to Re: scalar values assignment
by AR
in thread scalar values assignment
by gogoglou
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |