aboutsummaryrefslogtreecommitdiff
path: root/examples/hello.sloth
diff options
context:
space:
mode:
authorNic Gaffney <gaffney_nic@protonmail.com>2025-10-23 13:22:58 -0500
committerNic Gaffney <gaffney_nic@protonmail.com>2025-10-23 13:25:33 -0500
commitb888a221f832fd378db9e22f10155146c4fa4c5a (patch)
tree83bd27ed823b2924d8bc4e9770a6013c71fa9cc1 /examples/hello.sloth
parentfe70742be81985affeaeaec198effc7e18577e76 (diff)
downloadsloth-b888a221f832fd378db9e22f10155146c4fa4c5a.tar.gz
random stuff MERGE
Diffstat (limited to 'examples/hello.sloth')
-rw-r--r--examples/hello.sloth5
1 files changed, 2 insertions, 3 deletions
diff --git a/examples/hello.sloth b/examples/hello.sloth
index 5aa54e9..641ed1a 100644
--- a/examples/hello.sloth
+++ b/examples/hello.sloth
@@ -1,7 +1,6 @@
fn main() Int {
- var i: Int = 10;
- for j in 0..i {
- print(istr(j));
+ while true {
+ println("Hello World!");
}
return 0;
}