??? 06/08/04 03:25 Read: times |
#72012 - RE: Weekend Puzzle Responding to: ???'s previous message |
Sorry Dan.......you spotted a good one!! This code was written Keil C-51 (In a mild effort to keep it on topic). I ran and tested it in the Keil UV2 8051 Simulator. I guess the simple structure of the program let the mistake slip by me. I know its also not much of an excuse but I wrote the thing in a rather bit of a hurry.
Please change the dimension of the str array as follows and you should be "good to go". unsigned char str[12]; Michael Karas PS.....I am somewhat surprised that after about 24 hours there has been only one poke at this small program. Sorry it has no comments.....those were left for the investigator to fill in. MJK |