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) { } }