From: Ryan P. <rpu...@gm...> - 2007-01-31 15:18:10
Is there a way to make wxLua "print()" to the console instead of a
MessageBox? I see you do this when running from wxLuaEdit.
--
Regards,
Ryan
RJP Computing
From: John L. <jla...@gm...> - 2007-01-31 17:14:22
On 1/31/07, Ryan Pusztai <rpu...@gm...> wrote:
> Is there a way to make wxLua "print()" to the console instead of a
> MessageBox? I see you do this when running from wxLuaEdit.
If you use wxLua to run a lua program directly you can use the command
line switch -c to pop up a console window. When you run or debug a
program in wxLua.exe IDE you're actually running a new process so the
code to start the new wxLua process has to be changed. This is fixed
in cvs, you can download the new copy of editor.wx.lua and run it as
$ wxLua editor.wx.lua
http://wxlua.cvs.sourceforge.net/wxlua/wxLua/samples/editor.wx.lua?view=log
Regards,
John Labenski