doc: add while loops to sample file

This commit is contained in:
2024-12-05 19:29:36 +00:00
parent 1a4d6089a1
commit c0a90f40b5

View File

@@ -48,3 +48,9 @@ Q = match yz in
3 => age = age / 365,
_ => age = 0
end.
while x > 2 do
cout put:"message"
end
cout put:"message" while x > 2.