[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: equal '==' TAG method?
- From: Ultron14@...
- Date: Sun, 10 Feb 2002 18:31:57 EST
In a message dated 2/10/02 3:20:46 PM, paulmatthews@yahoo.com writes:
<< How about 'cmp' returning -1,0,1 or nil. This would mean
that 'le', 'ge', 'lt' etc can all be defined in terms of 'cmp'. I'm
assuming here that the boolean type is changed has values of 0,1 or
nil. >>
Any ideas on the best way, if any, to capture == and ~= comparisons for
userdata objects?
Also how would one capture set and get values for local userdata objects (not
just globals?).
Thanks,
Jules