Search found 2 matches

by allumbra
Thu Nov 04, 2010 2:26 am
Forum: Support and Development
Topic: MiddleClass Equivalence
Replies: 9
Views: 4014

Re: MiddleClass Equivalence

Hey - that worked great. Apparently my lib was not up-to-date. Thanks for the prompt response and for the nice class lib :)

Sorry for the late reply - apparently I failed to submit my message previously
by allumbra
Sat Oct 30, 2010 6:31 am
Forum: Support and Development
Topic: MiddleClass Equivalence
Replies: 9
Views: 4014

MiddleClass Equivalence

Hello,

I recently discovered your MiddleClass lib and am wondering how you would implement object equivalence.

e.g.

local a = AnObject:new()
local b = a
if b==a then
print("objects are the same!")
end