07-21-2011 03:00 PM
I have created a hash table and displayed it in a table. I would now like to save it to a file and subsequently read it back in. I have not yet found a way to do this. Any suggestions would be appreciated.
07-22-2011 01:56 AM
If data in your table are in a contiguous block you can use GetTableCellRangeVals to retrieve the whole block in a array in a single step; the array can be saved to disk with ArrayToFile.
The reverse process is FileToArray and SetTableCellRangeVals
07-22-2011 01:37 PM
Grazie, Roberto,
I will now say the only phrase I know in Italian: e pericoloso sporgersi. As to my CVI question: I don't think I can directly save the hash table but, since I display its contents in a table, I can save THAT table, write it to a file, read it back in and reinsert it in a hash table after I have read it. So I think that accomplishes what I want. It will be some time before I complete the code that does this, but I will let you know how it comes out. Thanks again for the prompt response.
Regards,
cegcs