i was wondering if anyone could help me?
i have searched the forum for an answer but could not find one, i also tried google.
Using code i am trying to generate random buttons and then assigning the buttons either A,B or C
so far i have
Code: Select all
on createrandombutton
put random(3) into tLetter
if tLetter = 1 then put A into pLetter
else
if tLetter = 2 then put B into pLetter
else
if tLetter = 3 then put C into pLetter
end if
end if
create button ("button&pLetter) in group "buttongroup"
end createrandombutton
so if anyone could shed some light on this issue or put me in the right direction that would be amazing
thanks for taking the time to view this post.