Program termination: Difference between revisions
m
→{{header|Wren}}: Changed to Wren S/H
m (→{{header|Wren}}: Changed to Wren S/H) |
|||
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
|