gt and le are string-wise comparisons. > and <= are numeric comparisons.True statement, and a correct fix, but you should also point out that the OP is comparing the variable names as strings rather than their values. (There are single quotes around the vars....)
In reply to Re^2: printing values within a given range
by VSarkiss
in thread printing values within a given range
by Angharad
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |