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

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