Menu

Bug in ERASE

spaglia
2016-09-16
2016-09-17
  • spaglia

    spaglia - 2016-09-16

    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

     
  • Rob Hagemans

    Rob Hagemans - 2016-09-17

    Hi Steve, thanks for the report! I'll investigate the cause.

    Rob

     
  • Rob Hagemans

    Rob Hagemans - 2016-09-17

    Hi Steve, as it turns out the memory model simply wasn't updated after ERASE. I've fixed this now.

    Rob

     
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.