Skip to content

write

Built-in function · Available everywhere, with no import

write is print without the new line at the end, so several writes build up a single line.

for n in 1..3 {
write(n, "")
}
print()
# prints 1 2 3 on one line

write(values...)

Shows each value, separated by a space, exactly as print does, but does not end the line.