There ya go.
With no PIC or compiler in front of you .... Pretty good!
Just a couple comments for when you get home.
Make sure the program can't accidently "Fall" into the GoodKey routine.
If it does fall-in, it was a bad key, so you definately don't want to run the GoodKey routine.
And the example has seven digits.
IF combocount = 7 THEN have a
Happy New Year!
Bookmarks