From 5965c25a1b32599c8b95e8713b8002e11b891ba4 Mon Sep 17 00:00:00 2001 From: Baitinq Date: Tue, 21 Jan 2025 23:54:17 +0100 Subject: Feature: Add support for while statements --- examples/10.src | 1 + 1 file changed, 1 insertion(+) (limited to 'examples') diff --git a/examples/10.src b/examples/10.src index 38e6259..428ac92 100644 --- a/examples/10.src +++ b/examples/10.src @@ -3,6 +3,7 @@ let main = () => { while !(counter == 10) { print(counter); + counter = counter + 1; }; while counter == 0 { -- cgit 1.4.1