swarm-support
[Top][All Lists]
Advanced

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

incompatible types in assignment


From: CUVELIER Bruno -
Subject: incompatible types in assignment
Date: Tue, 28 Jan 1997 19:09:27 +0100

Hi all,

I declare this :

id modelActions;
modelActions = [Collection create: [self getZone] setCount: speedRangeSize];


for (i = 0 ; i < speedRangeSize ; i++) {
  fprintf(stderr, "Creation du groupe d'action %d\n", i);

  modelActions[i] = [ActionGroup create: [self getZone]]; 
------------------^
The compilation refuse this assignment. The error message is: "incompatible
types in assignment" but I don't know why? 
  
  [modelActions[i] createActionForEach: agentDico[i]   message: M(step)];
} 

-- 
------------------------------------------
Bruno CUVELIER
email: address@hidden
       address@hidden
http://www.univ-littoral.fr/~cuvelier

Universite du Littoral
Laboratore d'Informatique du Littoral (LIL)
BP 719
62228 Calais Cedex
France
------------------------------------------


reply via email to

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