Welcome to SmallBASIC
Featured sample program: dmsareaplot.bas
'#sec:Main
CONST pausing = 1
CONST plotsize = 135 + 5 * (NOT pausing)
REPEAT
INPUT "Dataset";ds$
IF LEN(ds$) = 0 THEN
EXIT LOOP
ENDIF
IF EXIST(ds$) THEN
fh = FREEFILE
OPEN ds$ FOR INPUT AS #fh
INPUT #fh;t,type
ERASE n,e,b$,l
DIM n(0 TO t)
DIM e(0 TO t)
DIM b$(0 TO t)
DIM l(0 TO t)
n(t) = 0
e(t) = 0
INPUT "" + type + " - confirm";type
closed = LCASE(LEFT(type,1))="c"
SmallBASIC version 0.10.1 has been released
Submitted by chrisws on Sat, 08/16/2008 - 01:27.SmallBASIC version 0.10.1 for windows has been released.
This version includes the following features:
- Allows you to open multiple editor tabs.
- Drag and drop files from windows explorer into the File widget.
- Hide editor mode which (sort of) makes your program appear as a standalone application
- Updated online Help system integrated with this web site.
- Includes various language enhancements described in the previous article.
New features
Submitted by chrisws on Mon, 06/16/2008 - 10:57.SmallBASIC has a number of new features intended to broaden its appeal as a general purpose scripting language.
Local variable declaration and assignment
You can now declare and assign a local variable on the same line
local foo = "foo"
Program defined window geometry
The FLTK and SDL versions now allow the window geometry to be set from your program.
option predef grmode 200x300


Recent comments
6 weeks 6 days ago
7 weeks 1 day ago
7 weeks 4 days ago
9 weeks 8 hours ago
9 weeks 14 hours ago
9 weeks 14 hours ago
10 weeks 6 hours ago
10 weeks 3 days ago
15 weeks 1 day ago
15 weeks 1 day ago