Link to home
Start Free TrialLog in
Avatar of LMuadDIb
LMuadDIbFlag for United States of America

asked on

saving arrays to dat

hey all :)
I need advice, I have been looking at several ways to save arrays of records to a file and I was wondering whats the best way.
I need to save several arrays of records ( static & dynamic), and the hard part is that dynamic arrays can have varying lengths,
and most of them will exceed 255 characters. Which means I cant use "file of TRecord" to save the records. And I want to
save all my array records (6-8 of them) to one file.

Now I have looked into TFileStream and writing the individual records out manually. And its ok, but tedious.
And TStringLists, which I can use... but how do I save them out in a non text format? I dont want users to be able to
read (or change) anything in the file. Anyway to change that?

thanx for your time...



ASKER CERTIFIED SOLUTION
Avatar of Member_2_248744
Member_2_248744
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of LMuadDIb

ASKER

Slick812 thanx for that link :)
 DarkCore, I didnt even think about xml (which I have never used) but Im gonna check that out thanx
and  lmikle, thanx for the code