I think I've implemented the notion of a dynamic Linked List in DXL. I was inspired after using Arrays with huge number of rows but fixed number of columns; but the columns could extend depending on how many items were associated with the KEY of the row; but assigning large column values multiplies the size of the table by iRowMax X iColMax, and I was running out of memory. Again.
I FINALLY used a "struct"; Anybody want to welcome me to the 1990s? lol
Constructive critism encouraged.
The following code does not yet allow the notion of removing an item from a list, and it if id did we'd need some form of garbage collection or reuse; probably a "Skip" of removed rows.
Comments need improving but I need to go home.
Seems to me that these two lines could be improved with some form of Alias, but I failed at that.
Line# #107 int iRow_Tally = (int dxloLList->c_LList_Field_Tally) #160 dxloLList->c_LList_Field_Tally = iRow_Tally