Thanks for your replies.
I believe i was not clear enough with my explanation.
I receive a serial string : wers-ABC,897-00587
now this string does not contain ABC and 123 so in this
case serin2 command has nothing to do, it loops waiting for another
string.
If I receive a serial string: qwts-ABC,123-98756 now serin2 has
to do something.
Serin2 has to wait not only the characters ABC but ABC and 123.
This is a classic serin line: SerIn2 pinin,396 [wait ("ABC"),testbyte]
but in my code line serin2 should wait not only for ABC but ABC and 123.
Hope to be enough clear.
Thanks and bye




Bookmarks