From 932673c0026c33c41e969e109a0ca7a1fd6abba8 Mon Sep 17 00:00:00 2001 From: Cody Date: Thu, 15 Jun 2023 13:50:02 -0500 Subject: pog pog pogpogpogpogpogpogpogpog pog pog pogpogpogpogpogpog --- examples/hello.sloth | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'examples') diff --git a/examples/hello.sloth b/examples/hello.sloth index 8201dae..0da2fd0 100644 --- a/examples/hello.sloth +++ b/examples/hello.sloth @@ -1,6 +1,7 @@ -print("Hello World!"); - -# Comment -for greeting in ["Hello", "Hola", "你好"] { - print(greeting + " World!"); +fn main() { + var i: Int = 10; + while i > 0 { + i = i - 1; + } } + -- cgit v1.2.3