Hello group,

I currently have a master board that receives reports from 20 slave boards. When the master
receives the 3 digit number (what input) from a slave card it goes through 320 If Then statements then the Master assigns the actual apartment number then what to do with it after that.

I read somewhere that Select Case uses less program code space than If Then statements but haven't seen anything either here on the forum or the PBP 3.0 manual as to how many cases you can have.

My projects (I have 2 of them) have been running great now since 2005 but I am looking at possible upgrades to the system. I use 16F74's for the slaves and 18F452 for the Masters.

So the main question is, is there a limit as to how many Cases you can have using Select Case and if so, what is the limit?

Thanks in advance!

BobK