From ffd5b64885efdb9eb77f062a3457b038e922e41c Mon Sep 17 00:00:00 2001
From: Theis Pieter Hollebeek <tphollebeek@gmail.com>
Date: Tue, 17 Dec 2024 11:00:14 +0100
Subject: [PATCH] fix example_1.slg

---
 examples/example_1.slg | 13 +++----------
 1 file changed, 3 insertions(+), 10 deletions(-)

diff --git a/examples/example_1.slg b/examples/example_1.slg
index 90678d1..04eeeaa 100644
--- a/examples/example_1.slg
+++ b/examples/example_1.slg
@@ -14,19 +14,12 @@ fn main() {
     print(a + " " + b + "!\n"); // -> "Hello world!"
 
     if a == b {
-        print("whaaaat\n");
+        print("Equal\n");
     }
     else {
-        print(":o\n");
+        print("Unequal\n");
     }
 
-    loop {
-        let i = 0;
-
-        if i >= 10 {
-           break;
-        }
-
-        i = i + 1;
+    for (let i = 0; i < 10; i += 1) {
     }
 }