I'm new to MIT App Inventor, I'm learning a quiz as a university project. I have a problem where my timer and my questions generate an error. My timer doesn't appear when I start the quiz, and my questions throw an error after answering a few (I have 10 questions in total). The following message appears:
Below I'm sending all my blocks of the screen that makes up TinyDB, the questions are in PT-BR, and some commands too. I REALLY need help! I don't know how to fix this!
Your variable indice is supposed to be a number, right?
The index into a list of questions?
But you set it to the value true/false.
For your setup, where you have parallel lists of questions and sets of answers, you need to leave those lists undisturbed, and instead keep an extra list of the question numbers (initially 1 to length of list(questions)) that have not yet been asked.
Deplete that list. Be sure to distinguish the index value you select from that list from the position of the selected index in the ever-shrinking list.
That means that the select item in list a bit later (blue circle) fails because the variable doesn't have the correct content (Boolean instead of integer).