Go Down

Topic: lcd keypad (Read 1 time) previous topic - next topic

PaulS

Quote
It certainly looks cleaner.

It would look even better if you used Tools + Auto Format.

Code: [Select]
    return;
   
  for (int zz=0; zz<16; zz++) // wipe attempt
  {
    attempt[zz]=0;
  }

We're done. Oh, and by the way do this. No. Doesn't work that way. Nothing after the return statement is executed. And, in a string, you only need one NULL.

mark7w


Quote
It would look even better if you used Tools + Auto Format
.

Yes your right, I normally do.

Quote
We're done. Oh, and by the way do this. No. Doesn't work that way. Nothing after the return statement is executed. And, in a string, you only need one NULL.


Yes, I see.....how do you know so much! :smiley-red:

PaulS

Quote
how do you know so much!

I know how to debug my code. Good thing, too. Some of it is pretty buggy. I've been making a living doing computer programming for 33 years now.

Khalid


Quote
how do you know so much!

I know how to debug my code. Good thing, too. Some of it is pretty buggy. I've been making a living doing computer programming for 33 years now.

+Karma to Paul. You are the man 8)
Simply...You can't afford me..

Author Of:
http://my-woodcarving.blogspot.com/
http://www.free3dscans.blogspot.com/
http://my-diysolarwind.blogspot.com/

Oops..some one gave me Karma...:)

Go Up