[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Class methods, instance variables, never the two shall mix?
From: |
Paul Johnson |
Subject: |
Class methods, instance variables, never the two shall mix? |
Date: |
Thu, 01 Jun 2000 13:52:11 -0500 |
In a class method, I tried to use alloc, as in
[[self getZone] alloc: 50*sizeof(int))];
and it won't compile because the class method does not know "self". How
does one grab the zone from a class method?
--
Paul E. Johnson email: address@hidden
Dept. of Political Science http://lark.cc.ukans.edu/~pauljohn
University of Kansas Office: (785) 864-9086
Lawrence, Kansas 66045 FAX: (785) 864-5700
==================================
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.
- Class methods, instance variables, never the two shall mix?,
Paul Johnson <=