diff options
author | tomsmeding <tom.smeding@gmail.com> | 2017-09-02 15:48:01 +0200 |
---|---|---|
committer | tomsmeding <tom.smeding@gmail.com> | 2017-09-02 15:51:08 +0200 |
commit | c3c19f3220485af12c3a5561ad1754bf546e7429 (patch) | |
tree | 80e601853f7259722c4ec8fa3dc2704cd3f125f9 /putstr.lang | |
parent | 45e9991a1f83974c3459037f4791d865f5b342f1 (diff) |
Move *.lang files to a directory
Diffstat (limited to 'putstr.lang')
-rw-r--r-- | putstr.lang | 19 |
1 files changed, 0 insertions, 19 deletions
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; -} |