This tutorial is for beginners and people new to Small Basic. It can be used as a stand alone tutorial or to supplement the curriculum.
As you work through it and the samples, try writing some code of your own applying what you've just learnt.
Small Basic is free and you can install it from
Small Basic is ussually installed to
The file to launch the IDE is
IDE is short for Integrated Development Environment. It's where you write your code.
Sharing code is important. It's how coders help each other solve problems and get feed back. The Small Basic forum is set up just for this purpose. The easiest way to share code is by using the Import and Publish buttons.
To demostrate this, click the Import button and paste in the following id
You should be now looking at the program shown in fig 1.
Saving your code regularly is just as important. You don't want to lose all your hard work. Personally I recommend saving work to a cloud account like OneDrive. That way you have a backup.
Every time you write a new block of code, run it! This will test whether the code you just wrote works.
If you import a program, make changes to it and then republish it before saving it you are publishing the next version.
To demonstrate: import
PHT422-0, make some changes and then before saving it republish it. The ID for it will
increment up e.g.