Jon Hunt mentioned this to All:
JH> The INI file might have something like...
JH> [DATA]
JH> G:\COMMS\DATA\ADDRESS.DAT
JH> So I would (in Clipper) read in that INI file and assign "ADDRESS.DAT"
JH> to a variable that I could use throughout my program.
You should familiarize yourself with Windows INI files, then with Delphi's
TIniFile class. The biggest difference in them from what you're used to is
that every item has a key name in front of it to identify it. For example:
[DATA]
File=G:\COMMS\DATA\ADDRESS.DAT
...Gary
--- GoldED 2.41
---------------
* Origin: The Flying Circus BBS, Farmington Hills, MI, USA. (1:2410/905)
|