Tiny BASIC

Interpreter and Compiler Project

Tiny BASIC 1.0.3 Released!

Tuesday, 9th February 2021

The latest version of the Tiny BASIC Interpreter and Compiler Project is now 1.0.3. This is another bug fix release.

In version 1.0.2, using the GOTO or GOSUB commands with a line number that didn't exist would result in a Segmentation Fault. Normal behaviour when line numbers are optional is to give a more helpful runtime error. Normal behaviour when line numbers are implied or mandatory is to go to the subsequent line, e.g. where lines are numbered 10, 20, 30 a "GOTO 25" would go to line 30.

This bug affected only the interpreter and not the compiler. With 1.0.3 the segmentation fault has been fixed and the behaviour is as expected. The latest version is now available on the Compiler Downloads page, and the Github repository includes the fix in its master and development branches.

Thanks to thebigh for reporting this bug in the comments.

Comments

New Comment

Yes No