With MCA's code you would need a thousand IF constructs for as many computers.

Don't confuse easy with simple. If you cannot grasp the principles of subnetting you are in the wrong business.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.