I don't understand the logic of always putting false into tMatch.
------I can see the value of... ----
put empty into tMatch
...
repeat ......
get the backgroundcolor of grc tName of grp "A"
put (IT = the backgroundcolor of grc tName of grp "B") AFTER tMatch
then the answer could be
"truetruefalsetruetrue" in one dialog
and you could see which ones were true or false
Jim Ault
Las Vegas
On Mar 4, 2010, at 11:00 PM, Mark Wieder wrote:
Phil-
Close. That'll give you five answer dialogs. Try
on mouseUp
local tMatch
put false into tMatch
repeat with x = 1 to 5
put "A"&x into tName
if the backgroundcolor of grc tName of grp "A" \
= the backgroundcolor of grc tName of grp "B"
then put false into tMatch
end repeat
if tMatch
then answer "AnswerA"
else answer "AnswerB"
end mouseUp
--
-Mark Wieder
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution