A
mytable:foo(123)
, кл. слово self внутри функи foo
будет == mytablelocal t = {}
function t:foo(args)
return t == self
end
print(t:foo(123)) -- true
print(t.foo(t, 123)) -- true
Size: a a a
G
mytable:foo(123)
, кл. слово self внутри функи foo
будет == mytablelocal t = {}
function t:foo(args)
return t == self
end
print(t:foo(123)) -- true
print(t.foo(t, 123)) -- true
G
G
?
показывал сишку?S
АК
S
АК
AM
OY
YI
АК
CP
CP
YI
CP