标签:
Account={balance=0} function Account.count(v) -- body print("value is:"..v) end a=Account a.count(100)
Account={balance=0} function Account.count(self,v) -- body self.balance=self.balance+v print("value is:"..self.balance) end a=Account a.count(a,100) a:count(12)
标签:
原文地址:http://www.cnblogs.com/yufenghou/p/4302486.html