I confess when I first looked at Heimdall's original post all I saw were array routines, I totally missed this part:
Looking over again Heimdall's routines it seems a hell of allot more work to say:
MyArr(n) = 200
value = MyArr(n)
Translate those 2 easy straight forward statements into Heimdall's StringList routines, yikes!
Apologies @Heimdall if I am not empathic to your phobia for arrays, it just strikes me as a strange way to overcome that phobia because you are still using arrays to store info but are using an even more complicated system.
Kudos though for not letting fear prevent you from coding!
I have learned that the best way to overcome a phobia is to gently and slowly limit exposure to the fear producing obstacle until you are acclimated to it's presence. I have a thing about spiders but drawing them in QB64 has done much for the heebee geebee's in fact I am facinated by their structure, when I know they aren't going to crawl all over me I will study one, One!
Quote:It seems that QB64 has no "list" data type, but only arrays. Since I have an irrational fear of arrays, I am experimenting with creating a "StringList" container instead, which behind the scenes is based on arrays, but will keep me away from most of the work related to dealing with array sizes etc. and provides a few nifty functions for handling the list.
Looking over again Heimdall's routines it seems a hell of allot more work to say:
MyArr(n) = 200
value = MyArr(n)
Translate those 2 easy straight forward statements into Heimdall's StringList routines, yikes!
Apologies @Heimdall if I am not empathic to your phobia for arrays, it just strikes me as a strange way to overcome that phobia because you are still using arrays to store info but are using an even more complicated system.
Kudos though for not letting fear prevent you from coding!
I have learned that the best way to overcome a phobia is to gently and slowly limit exposure to the fear producing obstacle until you are acclimated to it's presence. I have a thing about spiders but drawing them in QB64 has done much for the heebee geebee's in fact I am facinated by their structure, when I know they aren't going to crawl all over me I will study one, One!
724 855 599 923 575 468 400 206 147 564 878 823 652 556 bxor cross forever

