[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: FW: print: subpress CR+LF?
- From: "Wolfgang Bujatti" <wolfgang.bujatti@...>
- Date: Sun, 3 Apr 2005 22:58:27 +0200
Thanks,
Neither io.write nor io.stdout:write is working on SciTE at all (none
output),
but both are working in the DOS-Window, which I have overseen.
Cheers,
blackrat
-----Original Message-----
From: lua-bounces@bazar2.conectiva.com.br
[mailto:lua-bounces@bazar2.conectiva.com.br]On Behalf Of Daniel Quintela
Sent: Sunday, April 03, 2005 10:22 PM
To: Lua list
Subject: Re: print: subpress CR+LF?
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