Page 1 of 1

Show random card

Posted: Sat Jan 17, 2015 5:13 am
by meixingm
Hi!

I'm making a quiz app and I'd like to know if it was possible to show a random card. It's a multiple choice quiz, and I don't want it to go in any particular order.

Appreciate any suggestions!

Re: Show random card

Posted: Sat Jan 17, 2015 5:26 am
by Simon
Hi meixingm,

Code: Select all

on mouseUp
put random(10) into tVar --10 is the number of cards but look up "random" in the dictionary for an upper/lower limit version
go card tVar
end mouseUp
Simon