Welcome to SmallBASIC

SmallBASIC is a fast and easy to learn BASIC language interpreter ideal for everyday calculations, scripts and prototypes. SmallBASIC includes trigonometric, matrices and algebra functions, a built in IDE, a powerful string library, system, sound, and graphic commands along with structured programming syntax.

How to help design a better looking editor color theme

This applies to the desktop SDL version of SmallBASIC.

There are five color themes available in the text editor. You can switch between themes by pressing ALT+t while editing a file. When SmallBASIC starts the fifth theme is read from the settings.txt file (under %APPDATA%/SmallBASIC in windows and ~/.config/SmallBASIC in linux) and when it exits the current settings are written back to the file.

The steps below should give just enough functionality to help design a better looking theme. Sorry, it's a bit of a convoluted process.

SmallBASIC version 0.12.2 has been released


The changes are:

Implemented loading recent files via ALT+1 .. ALT+9, Display the list with ALT+0
Fix potential editor crash with empty support widget
Fix potential crash with debug target
Fix restore path to only function when no other arguments supplied

Please let me know if you find any problems. Enjoy!


Here's another way display images - using the xpicmap format embedded as a string array.

see: https://en.wikipedia.org/wiki/X_PixMap

The following image was created using GIMP.

ar "30 30 770 2"
ar " c None"
ar ". c #5B3015"
ar "+ c #623A22"
ar "@ c #FFFFFF"


Subscribe to SmallBASIC RSS