Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Experimenting with a "StringList" type for simpler handling of string arrays/lists
#3
@Heimdall, I explored this approach while I was working on QBDS. However, I ultimately decided against it because I needed a dynamically resizing list. One of the key issues with 2D arrays is that they cannot be resized properly while preserving their contents (i.e., elements are not shifted during resizing; resizing a 1D array while maintaining its contents works perfectly, though). If you do not care about resizing or expanding your implementation, then it is ok I think.

For more details see https://qb64phoenix.com/forum/showthread.php?tid=4147
Reply


Messages In This Thread
RE: Experimenting with a "StringList" type for simpler handling of string arrays/lists - by a740g - 12-16-2025, 12:21 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Sub not Reconizing Dim as String pmackay 18 1,477 10-16-2025, 03:32 PM
Last Post: pmackay
  for performance, what's the best variable type to use for boolean _TRUE & _FALSE ? madscijr 12 1,258 09-29-2025, 02:59 PM
Last Post: dakra137
  Using modulo to loop through lists fistfullofnails 3 723 09-03-2025, 11:50 PM
Last Post: fistfullofnails
  Loading from file into _MEM? and LEN a TYPE... Unseen Machine 9 976 08-03-2025, 02:55 AM
Last Post: SMcNeill
  Illegal string-number conversion Herve 7 774 07-07-2025, 09:53 AM
Last Post: a740g

Forum Jump:


Users browsing this thread: 1 Guest(s)