Program termination: Difference between revisions
m
→{{header|Wren}}: Changed to Wren S/H
(Initial FutureBasic task solution added) |
m (→{{header|Wren}}: Changed to Wren S/H) |
||
(One intermediate revision by one other user not shown) | |||
Line 738:
=={{header|FutureBasic}}==
Quick and dirty.
<syntaxhighlight lang="futurebasic">
if condition then end
Line 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,866:
{{out}}
<pre>
$ wren_cli
Do you want to terminate the program y/n ? y
OK, shutting down
|