Hi,
Variables are stored in RAM - not in program memory (FLASH).
You can use the PBP command CLEAR to initialize ALL declares variables to 0 or you can use a FOR-NEXT loop iterating thru your array and write 0 (or whatever) to each location.
(And, when the chip is erased (program memory) all bits in the FLASH memory are set to one).
/Henrik.
Bookmarks