examples
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
examples [2020/02/16 19:11] – adminz | examples [2020/02/21 09:23] (current) – jtwine | ||
---|---|---|---|
Line 2: | Line 2: | ||
===== Hello World! ===== | ===== Hello World! ===== | ||
- | Well, no introduction to any programming (or scripting) language would be complete without the traditional and ubiquitous **Hello World!** example. | + | Well, no introduction to any programming (or scripting) language would be complete without the traditional and ubiquitous **Hello World!** example. |
- | < | + | < |
Program HelloWorld; | Program HelloWorld; | ||
Display "# - Hello World - "; | Display "# - Hello World - "; | ||
+ | EndProgram; | ||
</ | </ | ||
Line 13: | Line 14: | ||
==== Basic Loops ==== | ==== Basic Loops ==== | ||
- | Loops in 10LC are constructed using Labels, Goto statements, and If statements. | + | Loops in 10LC are constructed using Labels, |
<code c> | <code c> | ||
Line 19: | Line 20: | ||
--RegF; | --RegF; | ||
If RegF > 0 Goto Delay; | If RegF > 0 Goto Delay; | ||
+ | // End | ||
</ | </ | ||
examples.1581901869.txt.gz · Last modified: 2020/02/16 19:11 by adminz