*** Quoting Danil Lavrentiuck from a message to Gary Weinfurther ***
GW> Use TStringList instead. Or use TIniFile as follows:
GW> IniFile := TIniFile.Create('some.ini');
GW> try
GW> Value := IniFile.ReadString('Section', 'Key', 'DefaultValue');
GW> finally
GW> IniFile.Free;
GW> end;
DL> It's not a solution. He needs to get a list of all keys in section.
DL> Work with single key - is a wrong way.
If this is the case then he should surely use the readsection method. It
will return the names of the keys in that section.
Regards,
Tom Moore
--- Telegard v3.02/mL
---------------
* Origin: Time Passages - 405-372-2880 (1:3814/8)
|