chitselb / pettil

6502 Forth-83 dialect for the Commodore PET 2001
http://pettil.tumblr.com
34 stars 3 forks source link

`forget` bug #68

Closed chitselb closed 6 years ago

chitselb commented 6 years ago

forget has a fencepost condition (?) such that

: foo   0  do i . loop ;
7 foo 0 1 2 3 4 5 6  ok
' foo . 19f7  ok
here . 1a09  ok
forget foo
' foo . 19f7  ok   <-- should "NOT FOUND" error
here . 19f7  ok
chitselb commented 6 years ago

forget is more forgetful now, it works