examples
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| examples [2020/02/16 05:25] – adminz | examples [2020/02/21 15:23] (current) – jtwine | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| ===== Hello World! ===== | ===== Hello World! ===== | ||
| - | Well, no introduction to any programming language would be complete without the traditional and ubiquitous **Hello World!** example. | + | Well, no introduction to any programming |
| - | < | + | < |
| 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.1581830757.txt.gz · Last modified: 2020/02/16 05:25 by adminz
