SmallBASIC 12.27
Author:
christopoulos
Date: 04/26/2024 Size: 2-17 MB License: Open Source Requires: 11|10|8|7|Linux Downloads: 2928 times TIP: Click Here to Repair or Restore Missing Windows Files |
SmallBASIC is a lightweight BASIC language interpreter designed to be fast and reliable. The interpreter does not come with many advanced features, but this makes it ideal for quick and simple scientific routines. Its smooth interface includes code and output panels, which makes it easy to use.
SmallBASIC comes with built-in functions for trigonometry, matrices, and algebra, making it a versatile tool for everyday calculations, scripts, and prototypes. Additionally, SmallBASIC features a powerful string library, system, sound, and graphic commands, and structured programming syntax. Although it does not include a simple compiler currently, it remains a popular choice for those who want a fast and easy-to-learn BASIC language interpreter.
SmallBASIC simplifies creating executable files for Windows and Linux and signed Android packages for distribution through platforms such as Google Play.
Constants and Variables
All user variables (including arrays) are ‘Variant.’ That means the data type is invisible to the user.
Arrays are always dynamic, even if you have declared their size, with dynamic size and type of elements.
However, SmallBASIC uses, internally, four data-types
Integer (32bit)
Real (64bit)
String (<32KB on 16bit / 2GB on 32bit)
Array (~2970 elements on 16bit / ~50M elements on 32bit)
Conversions between those types are performed internally. In any case, there are functions for the user to do it manually.
Variable names
Variable names can use any alphanumeric characters, extended characters (ASCII codes 128-255 for non-English languages), the symbol ’_‘, and the symbol ’$.‘ The first character of the name cannot be a digit nor ’$.’
About the dollar-symbol
The symbol ‘$’ is supported for compatibility. Since there are no data types in SmallBASIC, its use is meaningless.
The dollar in function names will be ignored. The dollar in variable names will be counted as part of the name (that means v and v$ are two different variables). It can be used only as the last character of the name, and only one is allowed. The dollar in system variables names will ignore it (that means COMMAND and COMMAND$ are the same)
SmallBASIC comes with built-in functions for trigonometry, matrices, and algebra, making it a versatile tool for everyday calculations, scripts, and prototypes. Additionally, SmallBASIC features a powerful string library, system, sound, and graphic commands, and structured programming syntax. Although it does not include a simple compiler currently, it remains a popular choice for those who want a fast and easy-to-learn BASIC language interpreter.
SmallBASIC simplifies creating executable files for Windows and Linux and signed Android packages for distribution through platforms such as Google Play.
Constants and Variables
All user variables (including arrays) are ‘Variant.’ That means the data type is invisible to the user.
Arrays are always dynamic, even if you have declared their size, with dynamic size and type of elements.
However, SmallBASIC uses, internally, four data-types
Integer (32bit)
Real (64bit)
String (<32KB on 16bit / 2GB on 32bit)
Array (~2970 elements on 16bit / ~50M elements on 32bit)
Conversions between those types are performed internally. In any case, there are functions for the user to do it manually.
Variable names
Variable names can use any alphanumeric characters, extended characters (ASCII codes 128-255 for non-English languages), the symbol ’_‘, and the symbol ’$.‘ The first character of the name cannot be a digit nor ’$.’
About the dollar-symbol
The symbol ‘$’ is supported for compatibility. Since there are no data types in SmallBASIC, its use is meaningless.
The dollar in function names will be ignored. The dollar in variable names will be counted as part of the name (that means v and v$ are two different variables). It can be used only as the last character of the name, and only one is allowed. The dollar in system variables names will ignore it (that means COMMAND and COMMAND$ are the same)
Editor's Note:
Also supports Android.
Screenshot for SmallBASIC