• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Suggestion] Dynamic storage containers
#1
I would like for some kind of dynamic storage container to be implemented such as list. This would be especially beneficial now that we have removed limits for various entity types. It would be quite ridiculous defining enormous arrays to keep track of things.



I imagine it working something similar to how y_iterate was implemented.



Code:
new List:list = List_New();

List_Add(list,value);

List_Remove(list,value);

List_Delete(list);

List_Clear(list);

List_Random(list);

List_Next(...);??

List_Previous(...);

etc...





If different data types could be supported it would be a plus, but integers would be a great start.
[Image: qPwh60X.png]

  Reply


Messages In This Thread
Dynamic storage containers - by EvilShadeZ - 2020-11-05, 08:57 PM
RE: Dynamic storage containers - by EvilShadeZ - 2020-11-05, 09:00 PM
RE: Dynamic storage containers - by Expert* - 2020-11-11, 06:52 AM
RE: Dynamic storage containers - by Pinch - 2020-11-12, 03:42 PM

Forum Jump: