News:

Welcome to RetroCoders Community

Main Menu

Microsoft Small Basic

Started by electricwalrus, Sep 23, 2022, 08:49 AM

Previous topic - Next topic

electricwalrus

I just did a test of Microsoft's Small Basic and its quite alright. I get the feeling its very very limited in what you can do in it but is great for a beginner. Compiles to .exe too. Probabbly not as many nasty bugs in it but I'm sure there would be some. And is a bit fiddly with how to print to screen with TextWindow.WriteLine commands and there is a graphics window you can call on too. If you don't mind the fiddlyness it might be a better alternative to other basics and its free yeah? Thought I would give it a try.

This is the test program:
TextWindow.BackgroundColor = "DarkBlue"
TextWindow.ForegroundColor = "White"
TextWindow.Title = "Testing SmallBasic"

TextWindow.Clear()

' Standard Input Command
TextWindow.WriteLine("What is your name?")
testinput = TextWindow.Read()
TextWindow.WriteLine("Hello " + testinput)
TextWindow.WriteLine("Hello " + testinput)
TextWindow.WriteLine("Hello " + testinput)

TextWindow.ForegroundColor = "Green"
While (1 = 1)
  TextWindow.Write("Hello World! ")
  Program.Delay(100)
EndWhile

And attached is an image of that it looks like running.

honeydatax

#1

electricwalrus

yeah but i think it actually is made from vc++ behind the scenes cause i opened the project file and it was saying c++ in it. not 100% sure - it operates alright though

CharlieJV