LuaScript.runMain

Executes the main function of the scipt.

class LuaScript
public
runMain
()

Return Value

Type: LuaVar

A LuaVar variable with the appropriate return value if there was any.

Throws

A LuaException if the execution ran into an error, or the function isn't found.

Meta