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 - ";

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. Also, just like in 9LC, the pound/hash sign (#) is used with the display to cause the 9010A unit to beep.

examples.1581779910.txt.gz · Last modified: 2020/02/15 09:18 by adminz