next up previous contents index search.gif
Next: 4.5 Method invocation Up: 4. Objects Previous: 4.3 Constructors and destructors

4.4 Methods

Object methods are just like ordinary procedures or functions, only they have an implicit extra parameter : self. Self points to the object with which the method was invoked. When implementing methods, the fully qualified identifier must be given in the function header. When declaring methods, a normal identifier must be given.

root
1999-06-10