koto-lang/koto

Noob question. How do i print something without a newline?

gulamf opened this issue · 2 comments

Hi,
is it possible to print text without a new line?
Thanks.

irh commented

Hi @gulamf 👋

Yes, you can call write on io.stdout().

stdout = io.stdout()
stdout.write 'abc'
stdout.write 'def'
# abcdef

Thanks.