i should create a independent database for username?
Tell us where "ttttttt" came from.
It is not a list.
Use the Companion and the Blocks Editor Do It facility to show the contents of that global scores table.
sorry, can i look the image of the Blocks Editor Do It
Without the Do It facility you are working with one eye tied behind your back.
https://ai2-appinventor-mit-edu.ezproxy.canberra.edu.au/reference/other/testing.html
problem is use of the values one of this block (the operation > cannot accept the arguments ...) based on the error message.
You possibly can use DoIt to debug.
Use the MIT debugging advice Live Development, Testing and Debugging
and Enis's comments about the built-in DoIt debgger MIT App Inventor 2 Tips – TWO DOG APPS
There is a red X in your blocks image, in the gethighscores procedure.
That procedure is incompatible with storing scores and names in a table.
I advise removing that procedure.
You have fallen for the sunk cost fallacy, where you have devoted so much time and money into something that won't work, that you are reluctant to give it up.
I, for one, will not fall for that.
i save as copy and run with other projectId for cludDb, now it turn to this result ( show only 1 value, and keep replace it when it is higher than the existing value)
omg, i just got the 5 result !!!!(is my size of the listview problem i guess hahah)
may i ask how to adjust it to follow the ascending order
There is a reverse list block.
can ia sk how can i pop up message to congras their name &score are on the top5list? is this ok? i want to say if the nameand score get from user are same with one of those 5 items in top5 list, then it will pop up.... (BUt I don't know where to find the block for one of those items inside the list
is thsi ok???
if (is in list(user name.text, listviewer of names.Elements) ) then
pop up a Notifier
This will tell you if you are in the top 5, but not if it is because you just won that spot.
You need to keep a personal best score in TinyDB and compare your new score against that score.
You could check if entry to the top 5 scores is new by checking if your name is in the top 5 names list before and after updating the lists. If the before check returns false and the after check returns true, you just got onto the top 5 list.
You would need an extra global variable for that, named like AlreadyOnTop5.
No.
how abt thsi(still cant pop up)
You would need to call the corrected procedure AFTER you reload the ListView Elements.