FLTK
deb installs under '/usr'
Submitted by abelmora on Sun, 12/20/2009 - 13:39.Hi Chris,
smallbasic_0.10.6_i386.deb installs SB under '/usr' instead of '/usr/local'. I guess it should be better '/usr/local', do you agree?
Regards!
sbasici fltk segmentation fault under Linux
Submitted by abelmora on Sun, 12/20/2009 - 13:33.Hi Chris,
I've successfully compiled smallbasic_0.10.6 under a Linux machine with fltk 2.0 libraries and a 2.6.29.1 kernel but as I run the 'sbasici' bin file it gives a segmentation fault message.
I'd like to get this file not only for myself but for TinyCoreLinux users. TCL is a small distro --descendant from DamnSmallLinux-- which uses a fltk desktop. I think SB would be great for this system.
If you've got the time tell me what you think please. Thanks!
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
A new file uploaded
Submitted by kepu on Fri, 12/18/2009 - 02:06.Hi! ;)
I converted a simple code of fractal_fern to SBfltk and uploaded it to code library/graphics.
Very small code, but still it produces so real/natural effect.
Merry Christmas to everyone
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 !
<pre> ... </pre> Preformatted tag
Submitted by abelmora on Sun, 12/06/2009 - 19:57.Hi Chris,
Preformatted tag is great for preserving code text format. Is it possible SmallBasic accepts this at sourceforge? I could forget about all those non-breaking spaces...
Regards,
EXIT from nested FOR
Submitted by abelmora on Fri, 12/04/2009 - 23:27.Hi all! How could SB break just an innermost nested FOR loop? Let's take a glance at this
for i=1 to 30 step 2
for j=1 to 30 step 3
if i == j then
print i," equals ",j
else
exit for ' EXIT breaks the whole FOR loop
endif
next
next
I need EXIT to break the innermost loop only. Thank you! SB it's a great tool indeed.
Video tutorial and presentation for SmallBASIC in German language
Submitted by chrisws on Wed, 09/23/2009 - 20:46.Markus Oppitz has created this tutorial:
http://www.ksl.mediendesign.eduhi.at/lehrer/oppitz/eXe_SmallBasic_010_2/
Questions, possible bugs
Submitted by LanceGary on Tue, 09/22/2009 - 13:16.I'm using FLTK SmallBasic 0.10.5 on Windows Vista (Home Premium edition).
The following small program
a=[2,3;-1,4]
b=inverse(a)
? b
? 4.0/11
yields the following output:
[0.3.63636e+008,-0.2.72727e+008;0.09.09091e+007,0.1.81818e+008]
0.3.63636e+008
There seems to be an extra decimal point entered into these numbers. Is this a bug or something I don't understand?
The some queries.
1. Is it possible to select and copy from the output window? I have been struggling to do this.
2. Where is the log file to which logprint prints? How is this file accessed?
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 !
