ps you can use case = "A" to make it more readable
Thanks for the tip, Richard 
Using a 16F630 for this project, I'm quite limited in program size.
I tried something like this too:
Code:
IF InString[0] = 65 AND InString[1] = 65 AND InString[2] = 65 THEN Blinks = 1
IF InString[0] = 66 AND InString[1] = 66 AND InString[2] = 66 THEN Blinks = 2
IF InString[0] = 67 AND InString[1] = 67 AND InString[2] = 67 THEN Blinks = 3
But, if I recall well, this code is around 80 words larger than the nested IF..THEN conditions.
And as far as I can remember, SELECT CASE is also quite word consuming. I'll still give it a try later...
Bookmarks