swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Class methods, instance variables, never the two shall mix?


From: Gary Polhill
Subject: Re: Class methods, instance variables, never the two shall mix?
Date: Fri, 02 Jun 2000 09:39:10 +0100

> 
> >>>>> "PJ" == Paul Johnson <address@hidden> writes:
> 
> PJ> and it won't compile because the class method does not know
> PJ> "self".
> 

Why would the class method not know self? Wouldn't "self" be the
class in question? Or should one use something like "Self" in a class
method?

Gary

-- 

Macaulay Land Use Research Institute, Craigiebuckler, Aberdeen. AB15 8QH
Tel: +44 (0) 1224 318611               Email: address@hidden

                  ==================================
   Swarm-Support is for discussion of the technical details of the day
   to day usage of Swarm.  For list administration needs (esp.
   [un]subscribing), please send a message to <address@hidden>
   with "help" in the body of the message.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]