I am not sure if this is the apropriate place to ask this but I'm searching for a decent (or better) description about "this" and/or "_this".
I use it and I think it's got something to do with being a pointer to the object you use it on.
In my code I have a return statement like this:
return myCar._this();
now what I would like to know is what exactly is returned and what I can do with that.
In the rest of the code I have selected important things that might be needed to help me out:
Car myCar = new Car();
in the class Car there is a getSeat() that returns an object Seat. getSeat() should now return myCar._this().
I use it and I think it's got something to do with being a pointer to the object you use it on.
In my code I have a return statement like this:
return myCar._this();
now what I would like to know is what exactly is returned and what I can do with that.
In the rest of the code I have selected important things that might be needed to help me out:
Car myCar = new Car();
in the class Car there is a getSeat() that returns an object Seat. getSeat() should now return myCar._this().