This is a made up example in hope that someone can explain to me, how I can make objekts persistent.
TCar = Class
Model : String;
Price : integer;
TCustomer = Class
Nr : integer;
Name : String;
Adress : String;
Car : TCar; //Note the relation to another class
What I need to know is how to do it with; TPersistent, TFiler, streams... And/or such... But not with the use of databases.
Could someone please give me an example? (I have tried to read about it, but can't seem to get on with it). I use Delphi 4.
Thanks in advance.