Registriert seit: 11. Okt 2003
Ort: Elbflorenz
44.250 Beiträge
Delphi 12 Athens
|
AW: Breakpoint / Compiler Probleme
7. Jan 2011, 19:07
Keine Zeit?
Eine TStringList im Key/Value-Modus wäre wesentlich schneller implementiert als solche Arrays.
die Datei
Code:
INFO 1=Charts/EDDG/INFO1.jpg
INFO 2=Charts/EDDG/INFO2.jpg
GND=Charts/EDDG/GND.jpg
...
Delphi-Quellcode:
SL.LoadFromFile(...);
S := SL.Value['GND'];
// S = 'Charts/EDDG/GND.jpg'
S := SL.Key[1];
// S = 'INFO 2'
Ein Therapeut entspricht 1024 Gigapeut.
Geändert von himitsu ( 7. Jan 2011 um 19:14 Uhr)
|