I coded this and it always appears the runtime error
I did as the people say in forum, I use Do it and debugged it as possible, and tried lot of things… for days…
The list variable from what is about to select item by index comes coded from another project part, all right at all there… You can see the content of the list in the result of Do it
The Do it result for select list item is fully ok
But the Do it result in the last variable is an empty list…
Then i added a new screen to try the same and there is not the problem…
I am really confused
I’m testing my project with Companion
I’ve coded a restart button, and despite the runtime error, if i press it, then things goes fine and no error appears!
Incredible!
But if i test my project by new connection to Companion, then the notifier of runtime error appears back
In case 1 you have initialised both the variablr with create empty list , and you cannot set items directly like this to an empty list, you need to use copy the list block , I hope so…
In case 2, you are setting the particular value to a variable and you are catching directly on label so it works… simple…
Since I can not see all your blocks somewhere in your code you set your list to an empty list or you do not get data from a database…Otherwise post a test aia to check it
Thanks for your answers!
After a lot of tries without any bit of luck…
In my project i need lists
I try to understand… bit hard for me
By now i’m posting some images of the relevant part which is not rightly working for me, hope useful
I copied the relevant part of my code into a new screen…
At starting, the Runtime Error appears