for some reason the global variable “entitylist” cannot be passed to the procedure, basicly i put label 1 , label 2 and label 3 to see what gone wrong, and the result is label 2 got the list value and label 1 , label 3 is blank for some reason. I tried opening a new project to test this (this is the new project i created) and the same problem appeared too, so did i do anything wrong? ps. label 2 can get the value so it is definitely not the tinywebdb problem.
ok do one thing after calling tiny db set clock 1 timer enable to true
(use clock component of timing 2500 (2.5 seconds)) and in clock 1 timer do block call verify or create player and set label 3 text to enitiylist variable.
but then the value is stored to the local global variable so how come it is a latency problem?
that local variable is extacly what label 2 showing, label 2 make sure the value did get stored in global entitylist
@guilhermemaracaipe it completely make sense haven’t you seen any progress dialogs in app while doing processess. those progress dialogs are there so that app can do work in background.
and if hyou seriously think 3 second will slow down your app then there is no other solution for you.
@hotsunngai atleast try it then post you are not trying the solution given to you. if it not works then we will another solution but atleast first try the these
it worked because after calling tinydb you were instantly using the variable. and that time the variable is just an empty list. but after 3 sec it gets value. thats why it worked.
but that procedure is suppose to run once when the screen initialize, not everytime a value received though, i will stick to that delay thing until it didn’t work for now