On Sat, 26 Sep 2009 21:22:49 +1000, you wrote: > > > >:: I think the word "constant" may be a clue here..... > >I thought that as well, but this doesn't work either, that is not a >declared constant. If the array is declared as const, you can't write to it because it's ROM. On some non-PIC architectures, const data is copied to RAM at initialisation and so is actually writeable, but a compiler should still give an error if you try writing to it. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist