[Thread Prev] [Thread Next]
Hello Daniel!
Thanks for your answer, It works well with WHEN, but why IF condition is
not working here. Can't we check 2 conditions that if they are exist - there
is a winner?
Zehava Wizman
l
Daniel Ajoy <dajoy@xxxxxxxxxxxxxxxxxxxxx> wrote:
On 16 May 2006 at 12:14, zehava wizman wrote:
> Hello forum!
>
> I think my problems with my E-mail finished. Now I see the forum
> messages.
>
> The project attaced is a temp to find if 3 shapes are equal. I
> succedded to do it in different way ( entering the random shape
> selected in variable and compare it), but I find the command t1's
> "shape is much easier.
>
> Why doesn't it work?
>
> thanks, Zehava
Hi Zehava,
This is not being parsed as you suppose:
(and t1's "shape = t2's shape t2's "shape = t3's "shape)
This is being parsed by the computer this way:
(and (t1's ("shape = (t2's shape))) (t2's ("shape = (t3's "shape))))
Also you are confusing "if" with "when". Remember this picture?
http://mia.openworldlearning.org/mwforum/msg00388/if-when.gif
Daniel
PD. This attachment is 10% of the size of your attachment because
your project had a pattern for background.
*****************************
OpenWorld Learning
http://www.openworldlearning.org
---------------------------------
Be a chatter box. Enjoy free PC-to-PC calls with Yahoo! Messenger with Voice.
Previous by thread:
Re: problem with comparing shapes
Next by thread:
Re: problem with comparing shapes
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.
|