← All news Releases

BASIC-256 v2.3.2 released

2.3.2 adds Hindi, completes the translations in seven languages, draws much faster without FASTGRAPHICS, and fixes the problems found while writing A guide to BASIC256.

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 -l and its code: de, en, es, fr, hi, it, nl, pt or ru.
  • 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 5000 RECT statements take about as long as they do with FASTGRAPHICS. A single drawing still shows at once, the window is always up to date when the program pauses, waits for input or ends, and REFRESH still updates it straight away.

Fixes found while writing the book

  • DBINT, DBFLOAT, DBSTRING and DBNULL on a record set that was never opened, and READBYTE on a file that is not open, now give an error message instead of closing BASIC-256.
  • ASSIGNED and IN answer 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: after a$[0] = "x" : a$[0] += "y", a$[0] is "xy", not "yx".
  • ISNUMERIC is true only for a number, or a string written as one.
  • Sound: SOUNDWAVEFORM keeps fractional amplitudes and durations, SOUNDHARMONICS uses every row of a two-column array, and a waveform of exactly SOUNDSAMPLERATE values plays at full volume.
  • The toolkit.kbs module draws its captions in Tahoma on Windows and in BASIC-256’s default font elsewhere, at normal weight, and the new tk_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

  • ISNUMERIC is stricter: strings such as "1,5", "1,500" or "1x5" no longer count as numbers, and INT and FLOAT turn them into 0.
  • A program that already gave SOUNDWAVEFORM fractional values will sound different, because they used to be cut to whole numbers.
  • GETPIXEL and GETSLICE can 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.