Oops, of course that should have been #define a array[0] etc. Been dealing with Fortran too much recently.