S sconlon Active Member Licensed User Longtime User Apr 26, 2013 #1 In my project I save a list of string arrays to a CSV file using the stringutils SaveCSV sub. I have now changed from a string array to a custom Type (some strings and some ints but they could really all be stings). Now SaveCSV doesn't work (not unreasonably so I guess) so I was wondering what would be the best way to save this list of custom Types. I suppose I could loop thru them all a convert them to string arrays again but that seems a bit tiresome. Is there a better /simpler way? Thanks.
In my project I save a list of string arrays to a CSV file using the stringutils SaveCSV sub. I have now changed from a string array to a custom Type (some strings and some ints but they could really all be stings). Now SaveCSV doesn't work (not unreasonably so I guess) so I was wondering what would be the best way to save this list of custom Types. I suppose I could loop thru them all a convert them to string arrays again but that seems a bit tiresome. Is there a better /simpler way? Thanks.
Erel B4X founder Staff member Licensed User Longtime User Apr 26, 2013 #2 There is a simple way. You can use KeyValueStore class. Upvote 0
S sconlon Active Member Licensed User Longtime User Apr 26, 2013 #3 Thanks, Erel. A quick and clear reply as always. Upvote 0