using analog pins as digital

hi, i would like to use the analog input pins as digital pins, just wondering what to do is the structure section with regards to the Int characters, how to change the pin o analog to digital, cant see anything in the reference section thank you

Just use them - A0 to A5 are D14 to D19. Nothing special to do.

cant see anything in the reference section

Not looking closely enough. Like here

just wondering what to do is the structure section with regards to the Int characters,

I don't understand that phrase.

int greenled = 1; for a digital pin

what phrase do we do for an analog a0 pin? thank you

const int greenled = A0;

thank you

const int greenled = 14;                        14 = 13 + 1

will also work for the Arduino UNO as CrossRoads suggested, being 14 = lastdigitalpininyourboard + 1, specially useful if you are working with your pins inside a loop.