26.06.2012, 14:43
Edit: beaten already
Change this:
to this:
You're declaring str and not doing anything with it, so strval(str) is evaluating to 0.
Change this:
Код:
if(strval(str) < 1 || strval(str) > 60)
Код:
if(strval(inputtext) < 1 || strval(inputtext) > 60)