diff options
author | kdx <kikoodx@paranoici.org> | 2023-06-13 04:25:19 +0200 |
---|---|---|
committer | kdx <kikoodx@paranoici.org> | 2023-06-13 04:25:19 +0200 |
commit | dea6dce494e9c403f1f9e2178cd8c7d0aad79738 (patch) | |
tree | 41611f96256ec2525ec19513b796166faed6a3cd /samples | |
parent | bef68b681f0af54061858a6689057850b390d79c (diff) | |
download | golem-dea6dce494e9c403f1f9e2178cd8c7d0aad79738.tar.gz |
escape sequences
Diffstat (limited to 'samples')
-rw-r--r-- | samples/helloworld.golem | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/samples/helloworld.golem b/samples/helloworld.golem index 37698c0..57333b5 100644 --- a/samples/helloworld.golem +++ b/samples/helloworld.golem @@ -5,8 +5,7 @@ define iterations = 9; main() { local i; - strcpy(str, "Hello, World!"); - strappend(str, '\n'); + strcpy(str, "Hello, World!\n"); i = 0; loop { |