Can someone please test this on their system and let me know if it works?
Basically I repeat the same commands within the function. The commands work fine outside the function. When i get to the third command inside the function it errors out to a windows exception error box.
If this isn't a bug can someone please tell me what I'm doing wrong? Am I missing something?
BTW this code works fine. It is just with the user TYPES it seems to fail.
DIM Board(8, 8) as float
Board(1, 1) = 1.0
Board(2, 1) = 2.0
Board(3, 1) = 3.0
Board(4, 1) = 4.0
Board(5, 1) = 5.0
ClearBoard()
wait key
FUNCTION ClearBoard()
Board(1, 1) = 1.0
Board(2, 1) = 2.0
`This is where the program fails for me. Windows Exception Error box pops up.
Board(3, 1) = 3.0
Board(4, 1) = 4.0
Board(5, 1) = 5.0
ENDFUNCTION
Thanks