To answer to points 1 and 4, AFAIK the operator 'eq' stringify both operands before comparing them. So 'X' eq 'Y' if and only if 'print X' and 'print Y' give the same string in output.
Rule One: "Do not act incautiously when confronting a little bald wrinkly smiling man."
In reply to Re: What is the best way to compare variables so that different types are non-equal?
by psini
in thread What is the best way to compare variables so that different types are non-equal?
by ELISHEVA
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |