Try something like this
or thisCode:HSERIN [WAIT($07), str DATAIN\8] if datain[0] = $07 and datain[1] =$06 and datain[2] =$0D and datain[3] =$CA and datain[4] =$2E and datain[5] =$56 and datain[6] =$00 and datain[7] =$C9 and datain[8] =$77 then hserout [str datain\8]
Code:str[0]= $07:.....:str[7]=$77 HSERIN [WAIT($07), str DATAIN\8] for i = 0 to 8 IF str[i]<>datain[i] then goto DO_NOT_SEND next i hserout [str datain\8] do_not_send:




Bookmarks