|
OOP-like functions, using the ':' syntax aren't local nor global, they're putinto the 'object' table. just remove the 'local' keyword
taking the local declarations away works, but the Account and SpecialAccount objects are now visible in the global env table _G which defeats the purpose of declaring it in a package. How can I do it while keeping those objects hidden from outside users.
Mark