My app gets a string from a serial port and takes three characters -- which SHOULD always be numbers -- from the string.
There was an instance where one of the three characters in the string was NOT an Integer and it could not do the StrToInt conversion. A messageBox popped up and the program did not proceed until the messagebox was acknowledged.
I need to find a way to say " if not a valid int then go ahead to the next one" (basically give it the acknowledgement that the messagebox would have).
Does anyone hjave any ideas?
Thanks
fergmj
There was an instance where one of the three characters in the string was NOT an Integer and it could not do the StrToInt conversion. A messageBox popped up and the program did not proceed until the messagebox was acknowledged.
I need to find a way to say " if not a valid int then go ahead to the next one" (basically give it the acknowledgement that the messagebox would have).
Does anyone hjave any ideas?
Thanks
fergmj