lua-users home
lua-l archive

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


Hi,

Wolfgang Bujatti wrote:
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.

This should actually be discussed on the SciTE mailing list.

Anyway, the output pane is sort of an editor window, so you can use the same exposed methods, or use trace() (which does not add newlines.) E.g.

  trace("foo")

  output:DocumentEnd()
  output:AddText("foo")

HTH,
--
khman
KL,MY

-----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

[snip]