Why is it, that
toint("5") => 5
toint("+5) => 5
toint("-5") => -5
toint(" 5") => 5
toint("- 5") => -5
toint("-+5") => -5
toint("--5") => 5
but
toint("+ 5") => 0
toint("+-5") => 0
toint("++5") => 0
toint("---5") => 0
toint("-+ 5") => 0
toint("-- 5") => 0
?
Not that it matters that much, but it isn't very consistent...
Tijmen (having nothing better to do with his time than typing some stupid
little eval's...)