From 80d92c10bf4a646861b27c634c765b7f7ce63c69 Mon Sep 17 00:00:00 2001 From: A404M Date: Thu, 29 May 2025 20:04:12 +0330 Subject: fix bug in array --- code/lib/io.felan | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'code/lib/io.felan') 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]); }; -- cgit v1.2.3