This needs to be random row num
:
What Should I like that variable to be? , Should " app variable random row num" be connected to my data source somehow, or should I just leave it how it is?
Please take a careful look at the screenshot I provided. Because you’ve recreated it incorrectly twice now and I can’t really keep spending all this time helping you compare screenshots. You can do that. This is the screenshot I’m referring to:
I also mentioned this earlier:
Do not use that block!
I Have it exactly the same now, I will see if it works. Thanks For your help.
It works but after 20 times it says “undefined”. I am assuming this is because it has gone though all the challenges which is what I want, but how could I add a reset button so that the user could continue to do them, or should I just make the list of challenges longer?
You will need to check if the length of app variable Challenges
is zero. If it is, then all of the challenges have been used up. To reset, use this block which is already part of your when screen Opens
event:
Sorry that I am sending you a screenshot but is this correct?
I appreciate your help, Many Thanks, Levi.
Part of knowing if something is correct is looking at the expected outcome vs. the actual outcome.
-
What are you expecting those blocks to do?
-
What actually happens when you preview them?
-
And how closely do your blocks compare to what I described?
- What are you expecting those blocks to do?
I am expecting the blocks to make the challenges reset so that you can reset it. - What actually happens when you preview them?
The App Says your blocks don’t function. - And how closely do your blocks compare to what I described?
They are sound similar, but I can’t find halve of the blocks you described.
Or Like a “get more challenges” button of some sort.
Your blocks check to see if a variable is equal to one. But I suggested that you check the length of a variable and see if it’s equal to zero. So those are two different things.
Can you post a screenshot of the “your blocks don’t function” message?
All of the blocks I’ve mentioned are blocks that you added to other screenshots you’ve shared above.
I’m sorry you’re having a hard time finding those blocks but maybe it would be helpful to have someone walk you through all of this over Zoom. If you’re interested, you can send me a private message and we can discuss what I charge for that service.
I might use your service later, but here I just need help with this one part of the app I am working on, once I sort this out I can work on more important stuff.
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.