Registriert seit: 13. Jul 2004
99 Beiträge
Delphi 7 Enterprise
|
Re: Heftige String Untersuchung!!! Need Help!
20. Jul 2004, 00:04
Probiere es doch mit INI-Dateien:
Code:
[1]
classname=worldspawn
[2]
origin=48 1320 24
classname=info_player_start
[3]
classname=info_null
origin=632 288 40
targetname=t1
Delphi-Quellcode:
uses
..., IniFiles;
...
var
i: Integer;
ini: TIniFile;
sections: TStringlist;
classname: array of string;
...
...
ini:=TInifile.Create('C:\Test\Orte.ini');
sections:=TStringlist.create;
sections:=ini.readsections;
setlength(classname,sections.count);
for i:=0 to sections.count-1 do
begin
classname[i]:=ini.readstring(inttostr(i),'classname','');
...
end;
...
|