arduino mega: use analog pins as digital?

I would recommend shifting the 10 analog pins up 3 and putting the analog(digital) pins at numbers 0,1,2 and then I would have thought that if you number them to the 'next' theoretical digital pin number (is it 45 onwards?) then it should work like on the other arduino boards.

I would recommend trying it with something simple such as an LED blink on analog pin 0 (set as "int ledPin = 45" or similar).

Mowcius