Program termination: Difference between revisions
m
→{{header|Wren}}: Changed to Wren S/H
(→dt: add) |
m (→{{header|Wren}}: Changed to Wren S/H) |
||
(2 intermediate revisions by one other user not shown) | |||
Line 736:
exit code is 1
</pre>
=={{header|FutureBasic}}==
Quick and dirty. Terminates everything.
<syntaxhighlight lang="futurebasic">
if condition then end
</syntaxhighlight>
=={{header|Gambas}}==
Line 1,847 ⟶ 1,853:
The following example illustrates the use of Fiber.suspend in a Wren CLI script.
<syntaxhighlight lang="
System.write("Do you want to terminate the program y/n ? ")
Line 1,860 ⟶ 1,866:
{{out}}
<pre>
$ wren_cli
Do you want to terminate the program y/n ? y
OK, shutting down
|