28.08.2012, 08:15
The problem is that if you do: kod[10], the system believes that you are trying to access position 10 in the string, and you only have 0-9 positions in a 10 char string.
you should do this:
if(strval(kod) == adalis)
you should do this:
if(strval(kod) == adalis)