User Tools

Site Tools


examples

This is an old revision of the document!


Examples

Hello World!

Well, no introduction to any programming language would be complete without the traditional and ubiquitous Hello World! example. So, here 'ya go!

Program HelloWorld;
    Display "# - Hello World - ";
    :End

The :End label is optional, it is just there to visually indicate the end of the program's code. The above program, when compiled and executed on the 9010A, will emit a beep and display - HELLO WORLD - . Note the trailing space - 10LC performs automatic conversion of trailing spaces (in display strings) to underscore characters so that they display correctly on the 9010A's display.

examples.1581721154.txt.gz · Last modified: 2020/02/14 16:59 by adminz