[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Windows File Association for lua.exe
- From: Jeff Pohlmeyer <yetanothergeek@...>
- Date: Sat, 10 Sep 2011 20:00:00 -0500
On Sat, Sep 10, 2011 at 6:09 PM, Phillip Richcreek wrote:
> I'm unable to see the script's PRINT output.
> How can I make double-clicking a .lua file bring up a cmd window that
> doesn't immediately disappear?
For develoment/debugging purposes it might be helpful if the
window stayed open. But for a script written for everyday use,
many people would prefer something that does what it needs to
do and then gets out of the way. For the best of both worlds,
during development you could add this to the end of the script:
print("Press [Return] to exit")
io.read()
- Jeff