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.

Featured sample program

Featured sample program: Turns.bas

'#sec:Main
'' turns.bas
'' 13/02/2002
cls
input"TAS";tas
input"Bank Angle";aob
rateone=57.3*

SVirjee_fractal_1.bas


'Written for Smallbasic
'Aug 2013 - S Virjee
centerx = xmax / 2
centery = ymax / 2
iter = 20
zoom = 2.8
p=-.745
q=.113
rect xmin,ymin, xmax, ymax color 1 FILLED
oldi=1
pqsq = (p*p + q*q)
L = (sqr(p*p + q*q) - 1/iter)*(sqr(p*p + q*q) - 1/iter)
H = (sqr(p*p + q*q) + 1/iter)*(sqr(p*p + q*q) + 1/iter)

for x = -centerx to centerx

fibanacci3.bas

Posted by an anonymous user

BezierBounce.bas



color 0,0
cls

for
n=1 to 16
append a,rnd*(xmax-20)+10
append a,rnd*(ymax-20)+10
append d,(rnd*3+1)*sgn(rnd-.5)
append d,(rnd*3+1)*sgn(rnd-.5)
next

f=rgbf(1,1,1):l1=bez(a,3)
repeat

for
n=0 to ubound(a)
k=a(n)+d(n):s=ymax
if
n%2=0:s=xmax:endif
if
(k>s) or (k

Pages

Subscribe to SmallBASIC RSS

User login

Recent comments