A:Inc(5) is treated like A.Inc(A,5).
where A is an object which has the Inc function and Inc expects two arguments (an object and an integer).
---
function T:F(X) is equivalent to
function T.F(self, X) which is equivalent to
T.F = function (self, X)
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment