View Single Post
ghoti
owner for sale by house
 
Join Date: Apr 2005
Location: Charlotte, NC
 
2006-04-16, 22:22

Okay, now you lost me. You're saying that functions like handleResponse in chucker's example are part of an implicit class? Then what about the while loop at the end that's not even contained in a function? And besides, self doesn't have anything to do with that. When a function within CCConnection calls another one, it can leave out the self (and also doesn't have to pass it as a parameter, which has to be done implicitly, or the function won't know what object it belongs to), but that still means that functions within the same class are called, and not the functions of some implicit "catch-all" class.
  quote