[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Have you ever seen a compiler error message like this?
From: |
Benedikt Stefansson |
Subject: |
Re: Have you ever seen a compiler error message like this? |
Date: |
Wed, 05 Nov 1997 23:19:06 -0800 |
Hi Paul,
Try casting the aSetter to id and see what happens. I.e. in the header file for
ModelSwarm put
id aSetter;
instead of
Setter * aSetter;
I have problems all the time with static typing (the second example). If that
doesn't work try creating the object outside the class method +createBegin in
ModelSwarm, i.e. in a method such as -buildObjects (your message contradicts
itself
on this point, you show code for the createBegin method - and the error is in
line
18 right? - but earlier you refer to the buildObjects method.
I don't think that it makes a difference whether you create agents in a class
method or an instance method, but it doesn't hurt to try.
Regards,
-Benedikt
--
----------------
Benedikt Stefansson address@hidden
Department of Economics, UCLA Fax. (310) 825-9528
Los Angeles, CA 90095-1477 Tel. (310) 825-4126
==================================
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.
==================================