Jump to content

Flow-control structures: Difference between revisions

m
→‎{{header|Wren}}: Changed to Wren S/H
m (→‎{{header|Wren}}: Changed to Wren S/H)
Line 3,184:
 
The following code demonstrates each of the above apart from '''Fiber.suspend''' which simply exits a CLI script.
<syntaxhighlight lang="ecmascriptwren">var func = Fn.new { |n|
var i = 1
while (true) {
9,485

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.