Hello,
the thread Queue concept in Embedded wizard addresses similar question. In fact if the number of list elements is deterministic (1 to 20 if I understood your question correctly) you can use arrays configured with the max. expected number of elements (here 20?). You will need at least one additional variable to count the number of actually occupied arrays entries. When you plan to remove/insert items in the middle of the list, you will need to implement code which moves the array entries lying in front or behind the inserted/removed item.
Does it help you further?
Best regards
Paul Banach
Ask Embedded Wizard - Archive
Welcome to the Ask Embedded Wizard archive. This community forum served us well for many years, but we've evolved our support approach!
Your resources:
The Embedded Wizard Online Documentation provides comprehensive documentation, tutorials, examples and ready-to-use software packages.
For dedicated assistance, explore our Embedded Wizard Product Support.
You can still browse the valuable discussions from our community history here.
Embedded Wizard Website | Privacy Policy | Imprint