Console Mode editions of BBC BASIC
Console Mode editions of BBC BASIC
Please see my announcement at Stardot about the above topic. With the imminent closure of this forum it doesn't seem sensible to begin a thread here.
Re: Console Mode editions of BBC BASIC
I have updated the Console Mode editions of BBC BASIC to version 0.25. The main changes in this version are:
- Fixed a bug which caused the expected 'Type mismatch' error not to be reported on assigning a string to a numeric variable!
- Minor changes to the actions of the Esc key and on reporting an untrapped error, to improve consistency with other versions of BBC BASIC.
- Added some libraries in the lib/ directory (arraylib, classlib, datelib, fnusing, sortlib, stringlib, utf8lib, xmllib).
Re: Console Mode editions of BBC BASIC
I have updated the Console Mode editions of BBC BASIC to version 0.26, principally to bring them into line with the latest release of BBC BASIC for SDL 2.0. The main changes in this version are:
Version 0.26 may be downloaded as follows:
- File pointers and lengths (PTR#, EXT#) are now 64-bits on all platforms.
- Added the SYS function to return the entry point of an API, e.g. `memcpy` = SYS("memcpy").
- Added the PTR()= statement to set the pointer of an array or structure.
- Extended the =PTR() function to return the pointer of an array or structure.
Code: Select all
DIM node{link, ...}
...
REPEAT
PTR(node{}) = node.link : REM traverse linked-list
UNTIL node.link = 0
Re: Console Mode editions of BBC BASIC
I have updated the Console Mode editions of BBC BASIC to version 0.28, to fix a couple of bugs:
- ON ... PROC did not work correctly and could report a Syntax error even with valid code.
- ON ERROR LOCAL could, in rare circumstances, misbehave if used in a nested function.
Re: Console Mode editions of BBC BASIC
I have updated the Console Mode editions to v0.29, details at the website.