Windows
fractal_fern.bas
Submitted by kepu on Fri, 12/18/2009 - 12:02.
CLS
iii=0
RANDOMIZE TIMER
'x = 60
'y = 60
WHILE iii<100000
r = RND
IF (r <= .01) THEN
a = 0: b = 0: c = 0: d = .16: e = 0: f = 0
ELSEIF r > .01 AND r <= .86 THEN
a = .85: b = .04: c = -.04: d = .85: e = 0: f = 1.6
ELSEIF r > .86 AND r <= .93 THEN
a = .2: b = -.26: c = .23: d = .22: e = 0: f = 1.6
ELSE
a = -.15: b = .28: c = .26: d = .24: e = 0: f = .44
END IF
newx = (a * x) + (b * y) + e
newy = (c * x) + (d * y) + f
x = newx
y = newy
PSET x*50+150, y*50, 2
SmallBASIC version 0.10.6 has been released
Submitted by chrisws on Tue, 12/15/2009 - 11:20.SmallBASIC version 0.10.6 is now available for both Linux and Windows.
The changes include:
- Fix for Matrix inversion bug
- Fix for Scientific notation bug
- Updated editor tool-bar
- Implemented a new log window which can also be used as the output window when working with text only programs.
Please report any bugs you happen to find. Enjoy !
New game code
Submitted by mgglasby on Thu, 11/12/2009 - 02:50.rem Song Lines is a game that requires one player to draw pictures so the the other
rem players can guess what the song title is. The default time limit for each drawing
rem is 1.5 minutes if the timer is used. The more song titles you can add to the data
rem section the better the game will be. You will have to take care when adding titles
rem to only pick those that can be drawn out reasonably easily. This game can also be adapted
rem to quotes, sayings, film titles etc.
Boggle code
Submitted by mgglasby on Wed, 10/21/2009 - 04:02.I recently got Small BASIC and wrote the following as a test to see how it works:
rem Written October 2009 by Marc Glasby
rem This works best when the largest text size is used CTRL ]
rem There isnt much checking for correct input from the user
rem and the program isnt as elegant as it could be but hey, its free
rem and it works. If you want to contect me you can find my info at
rem http://www.nowandthen.noadsfree.com
dim dice(16,6),diceresult(16),finaldice(16)
rem The data is taken from an original set of BOGGLE dice
SmallBASIC version 0.10.5 has been released
Submitted by chrisws on Fri, 09/04/2009 - 10:50.SmallBASIC version 0.10.5 is now available for both Linux and Windows.
Please report any bugs you happen to find. Enjoy !
Changing font and providing a more complete manual
Submitted by paravantis on Wed, 02/25/2009 - 11:30.First of all, kudos to both Nick Christopoulos and Chris Warren-Smith for making and updating SmallBASIC.
I have used it on both Palm and Windows and find it amazing. And it keeps getting better.
I would like to raise two points:
1. I currently use the Windows version and would very much like to be able to change the default font to a monospace font of my liking; unfortunately, only the font size may be changed. The problem is that Courier looks horribly THIN in Windows! Chris, is this something you could implement?
2. Documentation remains somewhat scanty. While almost all commands are included in the Help system that comes with SmallBASIC, most commands are NOT fully and properly documented. Online help material is a little better but not there yet. Are there any chances we might, one day, obtain a more complete manual of sorts?
CONREC - A Contouring Routine
Submitted by Ted Clayton on Tue, 10/21/2008 - 18:40.CONREC: A small, light and fast contouring subroutine. see a Screenshot
CONREC was published by Paul Bourke in the July 1987 Byte magazine. Bourke acknowledges it was "Modified from CONREC routine written in FORTRAN-77 by Dr M.D.Johns for a PDP-11 at Auckland University Physics Department. (25-Nov-83)" (in his conrec.bas src). I wrote to him about permissions, and he said the code is free & open. He offers versions in other languages.
The CONREC homepage is http://ozviz.wasp.uwa.edu.au/~pbourke/papers/conrec/.
Problem in printing Greek on screen
Submitted by Commander on Sat, 06/21/2008 - 01:29.Hi, every time I include Greek characters in a print command things get a bit messed. The string on screen is doubled in size with space characters at the end. Also at the editor, I have to delete every character twice in order to finally delete it. Is there any way to fix this? I want to use SB in my high school classroom to teach programming, but this is a serious drawback. I use 0.9.7 SB in windows XP pro and I have set the Greek page for non Unicode programs under control panel -> regional settings.
Compatible with Vista?
Submitted by LanceGary on Tue, 06/17/2008 - 20:53.Is SB compatible with Vista? The program seemed to install, but when one clicks on the icon it opens a window which immediately closes. Are there any solutions?
Thanks for your help
Lance
GPS hints & pointers?
Submitted by Ted Clayton on Sat, 03/22/2008 - 15:57.I have my sights set on buying property ... so many planned purchases are now on the 'dream-on' list ... and could just stay there! ;-)
I have a Magellan 310 GPS. It should be replaced, because it cannot upload or download saved data. It does, however, have a set of contacts exposed on the back of the case, over which the raw NEMA GPS-codes stream continuously.
Before I start pecking at a way to deal with these (serial RS-232) data, I'm checking to see if anyone knows of previous efforts in the area? I do see Bob Riess' several map-related utilities.
