fa/tests/passing/while_loop.fa
Ari Archer c30a3de674
Deprecate mutability contexts
Signed-off-by: Ari Archer <ari.web.xyz@gmail.com>
2022-07-27 13:41:50 +03:00

13 lines
177 B
Text

include 'std/lstd.fa'
fun main [ str str int ] int eo
0 while copy 10 grt do
"I am looping" #puts
1 add
end 2 drop
%EXIT_SUCCESS
end
#main #exit