Is it possible to add a structure variable (say Point.X and Point.Y in Point) to an arraylist? If yes how do I retrieve this item in a dummy variable.
thnx in advance,
Marc
Yes, I used that workaround too. But the thing is that I want more then two subtypes in the variable and that would mean up to 10 parallel arraylists with all the handling thereafter.
Still puzzled how to solve this otherwise....
Is there an equivalent of LinkedList in JAVA in B4PPC?
Marc
My only other suggestion is the rather obvious and clunky one of storing the elements as a concatenated string with some separator guaranteed to be absent from the data (perhaps null?) and parse it when fetched...
Yes, I used that workaround too. But the thing is that I want more then two subtypes in the variable and that would mean up to 10 parallel arraylists with all the handling thereafter.
Still puzzled how to solve this otherwise....
The possible solutions I can think of are using more than one ArrayList as suggested above or use an invisible Table Control to store your data. If you have to store lots of data and need to manipulate it, a table control is quite slow and then I would use an in memory SQL-Database which I have used successfully in the past.
There is a lot of data to go around and what's more, not known upfront how much. The idea of a concatenated string is also usable. I did that in other apps. Thanx guys, guess there is still something on the wishlist.....
Marc