[Squeak-fr] petit pb de whileFalse

Michaël Piel mpiel at etu.info.unicaen.fr
Sam 21 Fév 17:59:01 CET 2004


On Sat, 21 Feb 2004 17:42:19 +0100
fontaine mathieu <matmat8 at wanadoo.fr> wrote:

> y_ anInteger atRandom.
>             ((self isEmpty at:x at:y)=true)whileFalse:[y_(anInteger 
> atRandom)].
> prkoi ca marche pas??????????
> is empty at at verifie si un tableau2D renvoie nil a un point

C'est ton ((self isEmpty at:x at:y)=true) qui est erroné. essaye plutôt [(self at: x at: y) isNil] whileFalse: [...]


Plus d'informations sur la liste de diffusion Squeak-fr