Skip to first unread message
Message has been deleted

Taifun

unread,
Aug 13, 2017, 9:19:32 AM8/13/17
to MIT App Inventor Forum
It would really help if you provided a screenshot of your relevant blocks, so we can see what you are trying to do, and where the problem may be.

Taifun

Trying to push the limits of App Inventor! Snippets, Tutorials and Extensions from Pura Vida Apps by Taifun. 

Message has been deleted

Abraham Getzler

unread,
Aug 14, 2017, 10:20:55 AM8/14/17
to MIT App Inventor Forum
Look at the red X on the global init of variable randomQuestionIndex.

Ai2 will not let you init a variable with a value that can't exist until run time,
like a random value.

Change the init value to 0, and find a place where your app starts up
(like Screen1.Initialize or where you start a new quiz) and do the
randomization there.

Clear all those red X' errors.

ABG

Reply all
Reply to author
Forward
0 new messages