aboutsummaryrefslogtreecommitdiff
path: root/examples/hello.sloth
diff options
context:
space:
mode:
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;
}