lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Wolfgang Bujatti escribió:

Is it possible to subpress the CR+LF at the end of each print statement on
Windows?

print"Hello "
print"World"
print"\n"

Output:
Hello
World


Try io.write (or io.stdout:write) instead of print:

io.write"Hello "
io.write"World"
io.write"\n"

--dq