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 litdev):
- Ninja Ed
Comments
Anonymous
March 20, 2014
This is one of my Hello World. www.youtube.com/watchAnonymous
March 21, 2014
That's awesome, Nonki!