Also remember that the : notation for function calls shoud be used for created objects of classes (created via ZO_Object:SubClass() e.g. where you can use self to reference the created object), and not simple tables {}.
So if SR = {} only, better do not use function SR:FunctionName but SR.FunctionName and calls as well via . and not : notation.
Easier to read and to understand.
In the end it works with : too, right. But the usage of "self" for simple tables is not intended afaik
|