[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Problems declaring objects inside package
- From: "Mark Swinson" <mswinson@...>
- Date: Tue, 1 Mar 2005 17:52:28 -0000
OOP-like functions, using the ':' syntax aren't local nor global, they're
put
into 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