Differences
This shows you the differences between two versions of the page.
| Previous revision | |||
| — | v3:end [2023/05/29 19:38] (current) – [END] neils | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ======END====== | ||
| + | [pet] [vic20] [c64] [c16] [cplus4] [c128] [x16] [m65] | ||
| + | =====Syntax===== | ||
| + | |||
| + | END | ||
| + | END ASM | ||
| + | END FUNCTION | ||
| + | END IF | ||
| + | END SUB | ||
| + | END TYPE | ||
| + | |||
| + | The '' | ||
| + | |||
| + | The '' | ||
| + | ===== Examples ===== | ||
| + | ' print a common phrase and then terminate the program | ||
| + | PRINT " | ||
| + | END | ||
| + | | ||
| + | ' terminate a program if a specific condition has been met | ||
| + | ' and continue on if not | ||
| + | DIM a AS TYPE BYTE | ||
| + | LET a = 5 | ||
| + | PRINT "I just stopped in to see what condition my condition..." | ||
| + | IF a = 5 THEN | ||
| + | PRINT " | ||
| + | END | ||
| + | ELSE | ||
| + | PRINT " | ||
| + | END IF | ||
| + | PRINT "If you can read this, I wasn't in the correct condition." | ||
| + | END | ||
| + | | ||
| + | In the first example above, the '' | ||
| + | |||
| + | <adm note> | ||
| + | The '' | ||
| + | </ | ||
| + | |||
| + | In the second example, because the condition specified in the '' | ||
| + | |||
| + | =====See Also===== | ||
| + | * [[v3: | ||
| + | * [[v3:GOTO]] | ||