I am porting some C # code to VB6 because the applications are outdated. I need to save a list of pairs. I donβt need to do associative searches, I just need to be able to store pairs of elements.
The discarded fragment is as follows:
List<KeyValuePair<string, string>> listOfPairs;
If I were to port this to C ++, I would use something like this:
std::list<std::pair<string, string> > someList;
If it were python, I would just use a list of tuples.
someList.append( ("herp", "derp") )
I am looking for a type of library, but if necessary I will agree to something else. I am trying to be LAZY and should not write cYetAnotherTinyUtilityClass.cls to get this functionality, or return to the commonly used string manipulation.
I tried searching, but VB6 is actually not very well documented on the Internet, and much of what is is well disputed. If you've ever seen BigResource , you'll understand what I mean.
vb6 tuples built-in
Wug
source share