Wow, it's Jon!
Jon Hunt was passing little notes around the room to Colin Towers..
JH> Thanks for the advice, but as I was pointed out by another user the
JH> class TIniFile has it already sorted. There are methods for reading
JH> in sections and all. There is also a similar class for registery
JH> entries, so I may start getting adventerous. :)
Yep, if you change 'Uses IniFile' to 'Uses Registry' and use the class
TRegIniFile instead of TIniFile then you can pretty seamlessly change to
registry.
Oh, except you'll probably want to use the 'Registry Filename' as
'SOFTWARE/YOUR COMPANY/YOUR PRODUCT'.
--
Colin - ct219@cam.ac.uk "Say yes, at least say Hello..."
--- Terminate 5.02/Pro*at
---------------
* Origin: Colin's Pad! (2:254/211.8)
|