Program termination: Difference between revisions
uBasic/4tH version added
(make separate sections →Pascal: and →Free Pascal) |
(uBasic/4tH version added) |
||
Line 371:
<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}}===
The ZX Spectrum has a STOP command, rather than an END command:
|