ark1320 Posted August 6, 2013 Report Posted August 6, 2013 I am learning how to write Lua scripts for use with FSUIPC. Is there a Lua syntax checker that anyone would recommend that will check for basic errors and thus help with debugging? Thx, Al
Pete Dowson Posted August 6, 2013 Report Posted August 6, 2013 I am learning how to write Lua scripts for use with FSUIPC. Is there a Lua syntax checker that anyone would recommend that will check for basic errors and thus help with debugging? Well, with most of the lines you'll use with FSUIPC or WideClient there'll be calls to library functions which only exist in those programs. so the best bet is simply to run it in FSUIPC (assign a keypress for it), and check the log. You can have the Lua log separate from the FSUIPC log by checking that logging option in FSUIPC. Once you get the syntax correct you can use the Debug/Trace option to trace through its actions -- the log will show the line numbers and the values of variables when they change. Pete
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now