Removing objects from table

It should be local screenGroup = self.view

tmp.someMethod(someParam) does not pass a reference (self) to the object to the method, only the specified parameter.  tmp:someMethod(someParam) does pass the object in as self.  tmp:someMethod( someParam ) is identical to tmp.someMethod( tmp, someParam) in calling and internally if you use : you don’t have to specify self, it’s there automatically.

Ed, I’m not sure what’s up with your posts getting mixed in out of order.

Hey there !

Just tried your code, and in both cases, outputs 8… Is is normal ?

Interesting.  This used to be an issue.  It doesn’t seem to be an issue now.