Quantcast
Channel: Small Basic
Viewing all articles
Browse latest Browse all 669

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

$
0
0

Like this...

  

TextWindow.WriteLine("Hello World")

  

TextWindow is an Object
WriteLine is a Method, 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

 


Viewing all articles
Browse latest Browse all 669

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>