Windows

RUN has a bug on Windows 7/10

Forums: 
SmallBASIC implementations: 

As reported by MGA, the RUN (and maybe also EXEC) command cannot run a command directly; it must use a BAT file to call another command.

(As a Linux user) I know that Windows-7 Shell is no longer the same shell used in Windows-XP, which emulated many DOS features without any problem.

In 'Home -- Forums -- Project help -- Run in with RUN -- IF', Aurel suggests using this API call (quote):

Another strange difficulty with Runtime

Forums: 
SmallBASIC implementations: 

I finally get Paint Balls version working beautifully in SmallBASIC a version fancier than my NaaLaa and sdlBasic versions BUT when I try it with Runtime it doesn't work.

I put all my text (help/menu) on a separate "screen" so to speak, and run all the graphics in a cleared screen for just drawing. I show the help screen first and then wait for a keypress to clear and start the graphics. Except when I click the mouse on the cleared graphics the whole program shuts down????

Here is code, it is fun using in IDE!

Reoccuring Squares

SmallBASIC implementations: 
Recursive subs not so hard, here is eye candy I dreamed up back in late 70's. I did it before with quick basic but not with recursive calls which makes things easier, I hope it's not too long:

'reoccuring squares SmallBASIC translation from
rem reoccuring squares NaaLaa started 2015-05-14 MGA/B+
sub sqPlus4(x,y,side,colorNumber)
local cc,cx,cy,ns,nc

Pages

Subscribe to RSS - Windows