<HTML><FONT FACE=arial,helvetica><HTML><FONT  SIZE=2 PTSIZE=10 FAMILY="SANSSERIF" FACE="Arial" LANG="1">Tu peux mettre au lieu de <BR>
<BR>
<U>(self grid<BR>
</U>        <U>select: [:each | each notNil </U>      &lt;=ca ca ne marche pas, il me dit 'Use &gt;&gt;self width: x height: y&lt;&lt; instead'<BR>
                <U>and: [each isPirate]])</U><BR>
<BR>
self grid <BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; select: [ :each |<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  each notNil &amp; each class = Pirate].<BR>
<BR>
Je ne pense pas que <BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; each isPirate<BR>
fonctionne.<BR>
Le mieux pour vérifier une classe c'est <BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; objet class = classeObjet<BR>
<BR>
Au fait tu es ŕ l'iut d'ifs toi?</FONT></HTML>