Hey Dennis,

An array(s) would be the way to do it. Could compare separate bits or the whole array sorta like doing a checksum. Lots of possibilities.

This may give you some ideas on how to set it up
http://www.picbasic.co.uk/forum/showthread.php?t=544