diff options
-rw-r--r-- | samples/helloworld.golem | 20 |
1 files changed, 1 insertions, 19 deletions
diff --git a/samples/helloworld.golem b/samples/helloworld.golem index aac5202..9ec0086 100644 --- a/samples/helloworld.golem +++ b/samples/helloworld.golem @@ -3,21 +3,7 @@ global str[32]; main() { local i; - print("uwu"); - wrt '\n'; - - strappend(str, 'H'); - strappend(str, 'e'); - strappend(str, 'L'); - strappend(str, 'l'); - strappend(str, 'o'); - strappend(str, ' '); - strappend(str, 'W'); - strappend(str, 'o'); - strappend(str, 'R'); - strappend(str, 'l'); - strappend(str, 'd'); - strappend(str, '!'); + strcpy(str, "Hello, World!"); strappend(str, '\n'); i = 0; @@ -70,10 +56,6 @@ uprint(s) { } } -nl() { - wrt '\n'; -} - toupper(c) { if (c >= 'a' & c <= 'z') return c - 32; |