[comp.sys.ibm.pc] Microsoft basic bug

wsmith@uiucdcsb.UUCP (01/06/87)

I'm not sure this is the right place to post this problem, but I couldn't
find another place.

I have tried this problem on both an old (TRS-80 Model I) and a new
(IBM PC version of basic_).   It is a problem with the error handling
capabilities of the Basic Interpreters made by Microsoft.

Try this program.   It should crash your BASIC interpreter fairly quickly.


10 on error goto 100
20 print i: i = i + 1
30 return
40 goto 20
100 resume next

What happens is the BASIC internal stack starts migrating through memory.

Bill Smith
ihnp4!uiucdcs!wsmith
wsmith@a.cs.uiuc.edu