Program termination: Difference between revisions
Content added Content deleted
(add BQN) |
No edit summary |
||
Line 1,751: | Line 1,751: | ||
'... |
'... |
||
End Sub</syntaxhighlight> |
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}}== |
=={{header|Wren}}== |