Source code examples

To give you a short overview of the HBasic features you can find some source code examples in the /usr/local/hbasic/code_examples folder of your HBasic installation. This document will list the examples and give you some short information what you will find in the code. Load this programs and start them to see the results. You may also find some introduction how to create, load or start your first program in the tutorial section.

All example programs could be started either with the interpreter or with the compiler to create standalone executables. If you take the compiler the executable will be called /usr/local/hbasic/compiler/hbasic.exe. HBasic will start this executable automatically if the compiler doesn't find an error, but you may also start this executable file without HBasic later.

Example index