How do you program "Hello World" in Small Basic?

Like this...


TextWindow.WriteLine("Hello World")


TextWindow is an Object/Class
WriteLine is a Method/Operation, the brackets show that this method needs some data to work with - in this case, what to write.
"Hello World" is what we want the write and it is put in double quotes - and is called a literal since it is not a variable, but is just a value (not in a draw).


Read more here (article by ):

Small Basic: Grammar Basics


   - Ninja Ed


Comments (2)

Skip to main content