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: Fernando Diaz
Subject: Re: Class methods, instance variables, never the two shall mix?
Date: Thu, 1 Jun 2000 15:06:42 -0400 (EDT)

why don't you just pass it in?


On Thu, 1 Jun 2000, Paul Johnson wrote:

> 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.
> 
> 



                  ==================================
   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]