TIP: Click on subject to list as thread! ANSI
echo: delphi
to: DANIL LAVRENTIUCK
from: TOM MOORE
date: 1997-06-25 15:10:00
subject: Re: TStrings, TIniFile

*** 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)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.