[chuck-users] "this" or "self" style keyword??
gewang at CS.Princeton.EDU
Thu Jul 20 19:06:18 EDT 2006
>> sorry if I'm missing it. Is there a this/self style keyword for OO
>> programming in classes?
There is 'this' keyword for refering to the object instance from
inside a member function.
There is also 'me' keyword which refers to the shred you are in,
me.yield(); // yields the VM - doesn't not advance time
// unrelated to 'this'
More information about the chuck-users