BASIC-256 v2.3.2 is out. It speaks more languages — now including Hindi — draws much faster, and fixes a set of problems found while writing the example programs for the new book, A guide to BASIC256.
Nothing is renamed or removed this time, so programs written for 2.3.1 keep working; a few results change, listed at the end. Builds are available for Windows, macOS (Apple Silicon and Intel), Linux and the Raspberry Pi, and BASIC-256 also runs in a browser tab with nothing to install.
What 2.3.2 brings
- BASIC-256 in Hindi. Start it with
basic256 -l hi, or simply on a computer set to Hindi, and the whole IDE is in Hindi: menus, toolbars, the output and Variable Watch windows, Find/Replace, Preferences, the About box, the permission questions and every compile and run-time error message. Menu items keep their English underlined letter in brackets, so the Alt shortcuts are the same as in English. - Translations completed in seven languages. The menus, the Preferences window, the persistent settings browser and the About box are now fully translated in Dutch, French, German, Italian, Portuguese, Russian and Spanish, including newer items such as Save All, Zoom, Theme and Wrap Long Lines, and the Alt shortcuts within each menu no longer clash. Choose a language with
-land its code:de,en,es,fr,hi,it,nl,ptorru. - Much faster drawing without
FASTGRAPHICS. The graphics window is now brought up to date about once a screen frame instead of after every statement, so 5000RECTstatements take about as long as they do withFASTGRAPHICS. A single drawing still shows at once, the window is always up to date when the program pauses, waits for input or ends, andREFRESHstill updates it straight away.
Fixes found while writing the book
DBINT,DBFLOAT,DBSTRINGandDBNULLon a record set that was never opened, andREADBYTEon a file that is not open, now give an error message instead of closing BASIC-256.ASSIGNEDandINanswer false for a map key that does not exist, so a program can check for a key before reading it:if "pizza" in tally then …no longer stops the program.+=on an element of a string array adds the text to the end: aftera$[0] = "x" : a$[0] += "y",a$[0]is"xy", not"yx".ISNUMERICis true only for a number, or a string written as one.- Sound:
SOUNDWAVEFORMkeeps fractional amplitudes and durations,SOUNDHARMONICSuses every row of a two-column array, and a waveform of exactlySOUNDSAMPLERATEvalues plays at full volume. - The
toolkit.kbsmodule draws its captions in Tahoma on Windows and in BASIC-256’s default font elsewhere, at normal weight, and the newtk_fontname$()tells a program which font that is. Checkbox and radio button labels stay crisp when they are redrawn.
Also in this release
- Returning from a function or subroutine frees its variables correctly; it used to release them the wrong way, which could corrupt memory.
Things to watch when upgrading
ISNUMERICis stricter: strings such as"1,5","1,500"or"1x5"no longer count as numbers, andINTandFLOATturn them into 0.- A program that already gave
SOUNDWAVEFORMfractional values will sound different, because they used to be cut to whole numbers. GETPIXELandGETSLICEcan read a partly transparent colour back very slightly different from the one drawn. Solid colours read back exactly.
The ChangeLog has the full list, and the release notes summarise every version so far.
Pick your platform and download it, or try it in your browser first.