diff options
author | A404M <ahmadmahmoudiprogrammer@gmail.com> | 2025-05-29 20:04:12 +0330 |
---|---|---|
committer | A404M <ahmadmahmoudiprogrammer@gmail.com> | 2025-05-29 20:04:12 +0330 |
commit | 80d92c10bf4a646861b27c634c765b7f7ce63c69 (patch) | |
tree | 24e6ca82935381b2a2f3a89b20083e0b441af835 /code/lib | |
parent | b984ce1a98f1d1691dde0f812ef3ee9221f8386f (diff) |
fix bug in array
Diffstat (limited to 'code/lib')
-rw-r--r-- | code/lib/io.felan | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/code/lib/io.felan b/code/lib/io.felan index 97be3b1..1fe7cf9 100644 --- a/code/lib/io.felan +++ b/code/lib/io.felan @@ -70,5 +70,11 @@ _print_unsigned :: (comptime t:type, value:t) -> void { value != @cast(0,t); } {} + while i < NUMBERS_SIZE - 1 { + @putc(numbers[i]); + i += 1; + } + return; + puts(&numbers[i]); }; |