Code: Select all
1 REM: OPEN #
5 IF LEN INKEY$>0 THEN GO TO 5
...and then you run your compiled code, and hold down a key for a fairly long time, it eventually crashes back to BASIC with "4 Out of memory".
I don't know whether the error report is actually relevant (why would GOTO be consuming more memory over time?), and it might also be possible to trigger a similar bug without INKEY$. This is just the case that I discovered.
The bug is present in the original 48k Hisoft Basic, and in Zeljko Juric's 1996 fixed version; but not in the 128k version.