Re: "WAIT" modifier with multiple choices - how to?
that will do it roger
this might be a little bit faster as only one value of instring[0] can ever be true at any one time
Code:
select case InString[0]
case = 65 ; ps you can use case = "A" to make it more readable
if InString[1] = 65 then
if InString[2] = 65 then
Blinks = 1
ENDIF
ENDIF
case 66
if InString[1] = 66 then
if InString[2] = 66 then
Blinks = 2
ENDIF
ENDIF
case 67
if InString[1] = 67 then
if InString[2] = 67 then
Blinks = 3
ENDIF
ENDIF
END select
Last edited by richard; - 2nd January 2022 at 21:58.
Warning I'm not a teacher
Bookmarks