Why won't Sketch debugger let me use multiple const int ledPin for added pins

So far, my program appears to be working (thanks for all your help!), but, I went to add more LED outputs (pin 11 in my program currently works fine, so I tried (re)using the command to add pin 12:
const int ledPin = (insert pin number here)
The problem is that when I go to upload, the compiler complains of "redefinition of const int ledPin" .
If I'm not supposed to re-use "const int ledPin = "; then what other commands can/do I try? "#define" didn't work, and neither did eliminating the const prefix on the line. And using an AND or OR line between the ports didn't help.
Any suggestions on a command besides ledPin that will allow me to program multiple outputs as Led's - or, better yet, what is the best way to configure all the ports as Led outputs?
Thanks,
Mike

Doh :-[ ,
It really was that simple, thanks! You have to rename with letters, and not numbers! Who Knew??
I'm up and running again, again as before, with the code doing exactly what I wrote!
But, I really have to ask, how does one ever learn the difference between what is and is not legal? Is there a text that would walk me through the basics? A C programming manual starts you on stuff that is too general, and not specific enough. Is there a book that details this kind of stuff?
Thanks again for such a concise answer!
Regards,
Mike

When you learned to read, did you start with Shakespeare? You have to get a good understanding of the basics before you can do much of anything. And understanding what a variable is, how to declare it, and how to name it, is about as basic as it gets....

Regards,
Ray L.

how does one ever learn . . . what is and is not legal?

"A book On C" is a good start.
ABC

http://www.parashift.com/c++-faq/
http://www.cplusplus.com/doc/

.

The mother book :smiley: Kernigan and Ritchie's 'The C programming language'

It's old, things have changed but the basics are still there :wink:

RayLivingston:
When you learned to read, did you start with Shakespeare? You have to get a good understanding of the basics before you can do much of anything. And understanding what a variable is, how to declare it, and how to name it, is about as basic as it gets....

Regards,
Ray L.

Thanks, Ray, that is what I'm trying to do - get the "basics".
You can all tell me what I'm trying to do here is a "bad" idea, but..
Up to now, it hasn't been very straightforward for me to read a C manual (general computing ideas), and THEN try to transition THAT to the specifics of PIC's and Microcontrollers (state engines and hardware). I'm a hardware guy going on 40 years, now, and am just trying to grab the "basics" of PIC programming any way I can. The Arduino seems to be the most straightforward place to start tutoring with basic changes to code - creating a different result, so I can SEE what effect a particular edit does, otherwise, I don't know that I'll be able to learn C for what I need it for.. PICs and Microcontrollers..
Thanks to all for the super sites and books!

I don't know that I'll be able to learn C for what I need . . .

You will be able.