diff options
Diffstat (limited to 'test.toc')
-rw-r--r-- | test.toc | 8 |
1 files changed, 1 insertions, 7 deletions
@@ -1,13 +1,7 @@ arr ::= pkg "std/arr"; io ::= pkg "std/io"; main ::= fn() { - x : arr.Arr(char); - arr.arr_add(&x, 'H'); - arr.arr_add(&x, 'e'); - arr.arr_add(&x, 'l'); - arr.arr_add(&x, 'l'); - arr.arr_add(&x, 'o'); - arr.arr_add(&x, '!'); +#include "incstuff.toc"; s : [1]char; s[0] = (arr.arr_len(x) as char) + '0'; |