From 44e3cdde1f4893abc5ee2ffd1837c329e79a937e Mon Sep 17 00:00:00 2001 From: kdx Date: Sat, 10 Jun 2023 19:07:14 +0200 Subject: cool cool --- samples/helloworld.golem | 20 +------------------- 1 file changed, 1 insertion(+), 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; -- cgit v1.2.3