Hi Rob,
It looks like there is a bug in ERASE. The following program shows memory use going down to negative numbers:
10 FOR J=1 TO 250 20 DIM BALLS[69] 30 ERASE BALLS 40 PRINT FRE(0) 50 NEXT J
Best, Steve
Hi Steve, thanks for the report! I'll investigate the cause.
Rob
Hi Steve, as it turns out the memory model simply wasn't updated after ERASE. I've fixed this now.
ERASE
Hi Rob,
It looks like there is a bug in ERASE. The following program shows memory use going down to negative numbers:
10 FOR J=1 TO 250
20 DIM BALLS[69]
30 ERASE BALLS
40 PRINT FRE(0)
50 NEXT J
Best,
Steve
Hi Steve, thanks for the report! I'll investigate the cause.
Rob
Hi Steve, as it turns out the memory model simply wasn't updated after
ERASE
. I've fixed this now.Rob