djborec
2012-09-08 07:32:42
Hello, I need to read some numbers from screen, I managed to read them and then I use StrToInt to convert them into Integer.
However ,the number that I am reading can be anything from 0 to 99999 so sometimes StrToInt returns error ,because OCR sometimes return String that is not number. (_9) for example or something.
So is there try-catch for SIMBA,so I can avoid to have script stopped ,because of this error.
However ,the number that I am reading can be anything from 0 to 99999 so sometimes StrToInt returns error ,because OCR sometimes return String that is not number. (_9) for example or something.
So is there try-catch for SIMBA,so I can avoid to have script stopped ,because of this error.