156 views
in GUI Development by
Hi,

In wizard is there any possible way to maintain any list in queue or stack

for example, need to store ranking from 1 to 20

1 Answer

0 votes
by

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

Embedded Wizard Website | Privacy Policy | Imprint

...