[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Can I get two instances of the same module?
- From: "Journeyer J. Joh" <oosaprogrammer@...>
- Date: Thu, 6 Mar 2014 16:39:03 +0900
Hi Thomas Jericke,
I tried this way now,
local aaa = require "account"
package.loaded["account"] = nil
local bbb = require "account"
The result is
And I tested more than 10 times but all shows same.
I agree with Steve Donovan.
I believe the possibility that the second loading of table is just allocated at the same memory location with the first one **by chance** would be almost very little.
Thank you very much though!!