Hello to all,
this might be a typical beginners question, but I can’t help myself.
I try to do something with For…Next loop.
As an example (for web app):
I have a changing number of different boxes and want to set (dynamically) the properties (values):
Number of boxes As Integer…
For i As Integer = 1 To NumberOfBoxes
Length[i] = 3.00
Width[i] = 3.00
Height[i] = 3.00
How can I add the “counter” to the property so I have "Length1, Length2, Length3… in the end?
And this brings me to the next question:
Also… can I create (session) properties the same way (“on the fly”), as I do not know the number of boxes I need in advance?
I did something similar in a desktop app years ago (unfortunately stopped working on Xojo after that, but try to get into again…)
Or is it better to it with “Classes”? I just started learning about this…
Any help appreciated.