Hi all,
When I execute below code,
fun1 is getting called, but
val is always nil(supposed to be 'man'). Please suggest me
class.A()
function A:fun1(val)
print(val)
end
function A:fun2()
return self.fun1;
end
Aobj = A()--creating an object
fptr = Aobj:fun2()
fptr('man');
Thanks & Regards,
Muqtheear.S