From c3c19f3220485af12c3a5561ad1754bf546e7429 Mon Sep 17 00:00:00 2001 From: tomsmeding Date: Sat, 2 Sep 2017 15:48:01 +0200 Subject: Move *.lang files to a directory --- putstr.lang | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 putstr.lang (limited to 'putstr.lang') diff --git a/putstr.lang b/putstr.lang deleted file mode 100644 index f132bda..0000000 --- a/putstr.lang +++ /dev/null @@ -1,19 +0,0 @@ -func putstr(char[] str) { - int i := 0; - while (str[i] != '\0') { - putc(str[i]); - i = i + 1; - } -} - -func int main() { - char[] str := new char[100]; - str[0] = 'k'; - str[1] = 'a'; - str[2] = str[1]; - str[3] = 's'; - str[4] = '\n'; - str[5] = '\0'; - putstr(str); - return 0; -} -- cgit v1.2.3-70-g09d2