On 1/31/07, Ryan Pusztai <[EMAIL PROTECTED]> 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

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
wxlua-users mailing list
wxlua-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxlua-users

Reply via email to