Writing text from a list using a loop

I am trying to set label aktualne_pamiatky_zoznam_label to a list of items from list aktualne_pamiatky_zoznam_miesta but I always get an infinite with the items repeating again and again. What am I doing wrong?

Possibly because it is a global variable you are adding the items again and again each time your try things out.

Set the list to an empty list at the beginning of the routine

Thanks so much! It worked

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.