Quote:
Originally Posted by .Owyn.
yup, i was reading funcwiki for str_to_num and found same, but can't condition "if" work with indexed arrays?
|
It works fine. But you were trying to compare a char to an integer. The condition would only run if the char had the integer value of 7, which corresponds to the character 'BELL', and it's not even printable. You'd have to compare it to '7' for it to work, and it'd still be the wrong way.
__________________