Anyway, thanks in advance.
I'll keep looking by myself and let you know if I come across anything.
Posted 09 July 2014 - 02:04 AM
Posted 09 July 2014 - 02:13 AM
Posted 09 July 2014 - 02:26 AM
Posted 09 July 2014 - 02:31 AM
local t = {}
--# with colon notation
function t:foo()
print(self)
end
--# without colon notation
function t.foo(self)
print(self)
end
local t = {}
function t.bar()
print("I'm just ignoring arguments given to me")
end
t:bar()
t:foo() t.foo(t) t.foo()
Edited by theoriginalbit, 09 July 2014 - 02:32 AM.
Posted 09 July 2014 - 10:04 AM
Posted 09 July 2014 - 11:38 PM
oeed, on 09 July 2014 - 10:04 AM, said:
Link149, on 09 July 2014 - 02:04 AM, said:
Posted 09 July 2014 - 11:40 PM
oeed, on 09 July 2014 - 10:04 AM, said:
Posted 11 July 2014 - 12:41 AM
theoriginalbit, on 09 July 2014 - 02:31 AM, said:
t:foo() t.foo(t) t.foo()
Posted 13 July 2014 - 02:14 PM
0 members, 2 guests, 0 anonymous users