How do I check for two conditions to be true?

William de Smet williamdesmet at gmail.com
Thu Sep 24 15:34:32 EDT 2009


Hello there,
This must be an easy one but it got me puzzled: How do I check for two
conditions to be true at the same time?
I want to check the startangle of two graphics to be true: the startangle of
grc "1" is 270 & the startangle of grc "2" is 20
Do I use if..then?
on mouseup
If the startangle of grc "1" is 270 & the startangle of grc "2" is 20 (???,
this doesn't work)
then ......(following code)
end mouseup

What to do with the check for the second graphic?
How do I combine these?

Thanks!

greetings,

William de Smet



More information about the Use-livecode mailing list