lua-users home
lua-l archive

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


I would recommend to use the -i command line option, which enters
interactive mode after executing the script.
That way, you can see the results and you can inquire for a global
variable, for example.

In my LuaDura application, I have also added a "-k" command line
option. When an error is thrown while the switch is on, the window
keeps open until the user must press Return key.
So, in the Windows registry on my PC, .lua is now mapped to the
following command:

   "D:\LuaDura\bin\LuaDura.exe" -k -i "%1"