SDL

4tunes-abc

SmallBASIC implementations: 

Submitted by user: decomputer on 05/01/2008 - 18:32

'20apr2008
cls
'randomize timer
open "MEMO:sbout" for append as #1
repeat
randomize
if
(fix(rnd*16))=1 then
print #1,"A";
print "A";
play "o1A"
elseif
(fix(rnd*16))=2 then
print #1,"B";
print "B";
play "o1B"
elseif
(fix(rnd*16))=3 then
print #1,"C";
print "C";
play "o1E"
elseif
(fix(rnd*16))=4 then
print #1,"a";
print "a";
play "o2a"
elseif
(fix(rnd*16))=5 then
print #1,"b";
print "b";
play "o2b"
elseif
(fix(rnd*16))=6 then
print #1,"c";
print "c";
play "o2c"

Screen Size

SmallBASIC implementations: 

Hi,

I compiled smallbasic under Linux using the sdl library. Now when I start a program the size of the window is always 640x480. Does anyone know how I can change the screen size in smallbasic?

Subscribe to RSS - SDL