Program termination: Difference between revisions
no edit summary
(add BQN) |
No edit summary |
||
Line 1,751:
'...
End Sub</syntaxhighlight>
=={{header|Vlang}}==
<syntaxhighlight lang="vlang">
for num in 1..10 {
println('$num')
if num == 5 {exit(1)}
}
</syntaxhighlight>
{{out}}
<pre>
Process started >>>
1
2
3
4
5
<<< Process finished (Exit code 1)
</pre>
=={{header|Wren}}==
|