[Thread Prev] [Thread Next]
On 13 Feb 2008 at 4:02, zehava wizman wrote:
> Hi Daniel!
> thanks for your reply/Here attached the project, using the same syntax. It
> send an error "
> I don't know how to false in ask"/
the code in the project is different from the code that you showed before:
this code is correct:
to win
if (and (t1's "shape) = (t2's "shape)
(t2's "shape) = (t3's "shape))
[announce [you win] stopall]
end
this is wrong:
to win
if (and (t1's "shape) = t2's "shape)
(t2's "shape = t3's "shape))
[announce [you win] stopall]
end
more specifically this is wrong:
t2's "shape = t3's "shape
because MW parses this as:
t2's ("shape = t3's "shape)
Daniel
OpenWorld Learning
Previous by thread:
Re: comparing shapes in slot machine
Next by thread:
pacman and a maze game
To save an attachment to your computer, PC users should right-click (Mac users, click and hold the mouse button) on the link and then choose 'save target as' from the pop-up menu. A window will then pop up in which you can choose a location for the file.
|