I am relatively new to Lua, and I am trying to embed it in the library. I can execute the script from the command line, but I get the following error when I call the function in the script when emb
Tag: zero value
OOP – Lua – Try calling method ‘new’ (zero value)
Lua newbie, trying to figure out how to use middleclass library for OOP
main.lua:
Person.lua:
module(…, package.seeall)require’middleclass’
Person = class(‘Person’);
function Pe