I have a quiz that has 6 items per page, with 8 pages. The items are grouped 
radio buttons.

When the "NEXT PAGE" btn is pressed, a card script is triggered:

global b1, b2, b3, b4, b5, b6

--I  used globals for holding the value of each item, 1 = correct, -1 = wrong, 
0 = not answered

on closeCard

if the hilitedbutton of group "item1" = 1 then put "1" into b1

if the hilitedbutton of group "item1" = 2 then put "-1" into b1

if the hilitedbutton of group "item1" = 0 then put "0" into b1

--repeated for all items



at the end there is a field with a "show score" btn:

global b1,b2,b3,b4,b5,b6.....b45

--I have 45 items that each have a global variable

on mouseUp

put the sum (b1,b2,b3,b4,b5,b6...b45) into fld "b score"

end mouseUp



I've spent a good while getting it ready, and it works.  But...are there hidden 
dangers in my chosen approach?

Thanks,

Ben
_______________________________________________
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

Reply via email to