Is there a way to app to syntax everything in my code without running each line of code?
I has a function that contained an invalid line that was not being picked up
someVar = fawslse
it should have been
someVar = false
I must must have mistyped a command in sublime.
I have since added the following to my code
local function onGenericAlertBox( event ) if "clicked" == event.action then local i = event.index if 1 == i then end end return true end local unhandledErrorListener = function( event ) -- todo: remove before launch print( "Houston, we have a problem: " .. event.errorMessage ) native.showAlert( "Unhandled Error", event.errorMessage(),onGenericAlertBox()) end Runtime:addEventListener( "unhandledError", unhandledErrorListener )