Welcome to SmallBASIC
Featured sample program: Hangman.bas
'''HANGMAN.BAS by Eric Toft
''
''Hang.dat file - just create a file called hang.dat
''Put one Phrase on each line. You can use the program
''to add more phrases, or use an external editor.
''
''THE BAROSSA VALLEY
''THE ADELAIDE HILLS
''MT REMARKABLE
''MCLEODS DAUGHTERS
''FREELING REDLEGS
LABEL START:
CLS
RANDOMIZE TICKS
tload "HANG.DAT", FRAZE
ct = ubound(FRAZE)
cts = FRAZE(ct)
if cts = "" THEN
delete FRAZE, CT
FI
lakeshore_demo.bas
Submitted by kepu on Mon, 01/12/2009 - 08:27.
' A small water waving/flickering program
' For SB(fltk) 2 Jan 2009 , by Keijo Koskinen
' You can download lakeshore1.jpg from:
' http://users.csolve.net/~keiko/smallbasic/lakeshore1.jpg
' When lakeshore1.jpg appears to screen,
' ..right clic it and choose save as
' ..to your bas_home directory
' *** load image ***
'img= env("C:\sb_fltk_97\FLTK_0.9.7\Bas-Home")+"lakeshore1.jpg"
' or
img= env("Bas-Home")+"lakeshore1.jpg"
if (!exist(img)) then
?sphere.bas
Submitted by kepu on Mon, 01/05/2009 - 07:09.
' A small 3D globe rotation program
' Converted to SB(fltk) 23,may 2006, from an old basic code
' by Keijo koskinen
' You can download sphere.gif from:
' http://users.csolve.net/~keiko/smallbasic/sphere.gif
' When sphere.gif appears to screen, ..right clic it and shoose save as ..to your bas_home directory
img= env("Bas_Home")+"sphere.gif"
if (!exist(img)) then
? "Sphere.gif does not exist "
? "then we are rolling this text"
?SmallBASIC version 0.10.2 has been released
Submitted by chrisws on Fri, 11/28/2008 - 12:00.SmallBASIC version 0.10.2 for windows has been released.
This version includes the following changes:
- PEN statement now returns correct coordinates
- Implements a new editor command for renaming variables
- Package includes additional sample programs
Please report any bugs you happen to find. Enjoy !
virgin_happy_hour.bas
Submitted by chrisws on Wed, 10/29/2008 - 11:56.' The purpose of this program is check the Virgin Blue web site for lunch time happy hour specials.
'
' Installation instructions for windows users
'
' 1. Click the Download link below and save this file to c:\temp
'
' 2.
'
' Installation instructions for windows users
'
' 1. Click the Download link below and save this file to c:\temp
'
' 2.
conrec-sb-v01.bas
Submitted by Ted Clayton on Wed, 10/22/2008 - 10:32.
' CONREC - A Contouring Routine
'
' by Paul Bourke, Byte, June 1987
' Homepage http://ozviz.wasp.uwa.edu.au/~pbourke/papers/conrec/
' (See webpage for details of the method.)
' Adapted for SmallBasic-v0.9.5 by Ted Clayton
'
' CONREC avoids the advanced math & heavy computation
' of more-formal contour-generation methods, by using
' a series of geometric tests within a local 'box'
' around & above each point in a data-grid.
' Each contour-segment is generated independently
' of other segments while scanning the grid
' raster-fashion.

Recent comments
47 min 14 sec ago
22 hours 12 min ago
1 day 7 hours ago
1 week 3 days ago
4 weeks 1 day ago
4 weeks 3 days ago
4 weeks 5 days ago
5 weeks 2 days ago
5 weeks 6 days ago
6 weeks 5 days ago