Please, indent your code ...
lol sorry, will do.

i have populated the array. i tried your code and it stops the erro messagwe although all the numbers in the display are now zero...