Sub-programs allow conditional execution of code sections.
Rules
| Rule | Description |
|---|---|
| P start | P values start at 1 |
| P=0 | Master program, implicit |
| No P | Line belongs to master program |
Execution logic
| Condition | Result |
|---|---|
| P matches active sub-program | Line is executed |
| P does not match | Line is skipped |
| No active sub-program | Master lines execute |
Sub-programs are activated using F12 and terminated using F13.
