[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Class variables not inherited?
From: |
Marcus G. Daniels |
Subject: |
Re: Class variables not inherited? |
Date: |
24 May 2000 13:50:09 -0700 |
User-agent: |
Gnus/5.070084 (Pterodactyl Gnus v0.84) Emacs/20.4 |
>>>>> "PJ" == Paul Johnson <address@hidden> writes:
PJ> When a class variable is declared in a the "m" file, before the
PJ> implementation line, it works fine.
PJ> World * worldForAgent;
PJ> @implementation Agent
That's not a class variable, it's a global. Objective C doesn't have
the notion of variables shared by all instances of a given class.
==================================
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.