Program termination: Difference between revisions
Content added Content deleted
(make separate sections →Pascal: and →Free Pascal) |
(uBasic/4tH version added) |
||
Line 371: | Line 371: | ||
<lang locobasic>10 IF 1 THEN END</lang> |
<lang locobasic>10 IF 1 THEN END</lang> |
||
==={{header|uBasic/4tH}}=== |
|||
The keywords <code>STOP</code> and <code>END</code> are aliases. They do the same thing. Any expression resulting in a non-zero value is evaluated as "True". |
|||
<lang>If 1 Then Stop |
|||
If 1 Then End</lang> |
|||
==={{header|ZX Spectrum Basic}}=== |
==={{header|ZX Spectrum Basic}}=== |
||
The ZX Spectrum has a STOP command, rather than an END command: |
The ZX Spectrum has a STOP command, rather than an END command: |