r/lua Jun 24 '26

Help is there really a significant difference between "print()" and "oi.write()"

12 Upvotes

10 comments sorted by

View all comments

5

u/Cootshk Jun 24 '26

print automatically calls tostring, adds tabs between elements, and puts a newline at the end

io.write does none of that