about summary refs log tree commit diff
path: root/examples
diff options
context:
space:
mode:
authorBaitinq <[email protected]>2025-03-09 00:46:07 +0100
committerBaitinq <[email protected]>2025-03-09 00:46:07 +0100
commit7dda19a956a19aeaa25fc23d8815dac250b4ae8a (patch)
treee84d34665c922b4babc23837a6549a79ab9c9d1c /examples
parentFeature: Add support for GT and LT operators (diff)
downloadinterpreter-7dda19a956a19aeaa25fc23d8815dac250b4ae8a.tar.gz
interpreter-7dda19a956a19aeaa25fc23d8815dac250b4ae8a.tar.bz2
interpreter-7dda19a956a19aeaa25fc23d8815dac250b4ae8a.zip
Feature: Add support for mod operator
Diffstat (limited to 'examples')
-rw-r--r--examples/10.src2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/10.src b/examples/10.src
index 67199b0..b840849 100644
--- a/examples/10.src
+++ b/examples/10.src
@@ -6,7 +6,7 @@ let main = () => i64 {
 		counter = counter + 1;
 	};
 
-	while counter == 0 {
+	while counter % 3 == 0 {
 		print(0);
 	};