How do I 'shorten' this script?
Mark Wieder
mwieder at ahsoftware.net
Fri Mar 5 02:00:24 EST 2010
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
mwieder at ahsoftware.net
More information about the use-livecode
mailing list