Einzelnen Beitrag anzeigen

Robert_G
(Gast)

n/a Beiträge
 
#14

Re: Konfigurations informationen ohne INI

  Alt 25. Okt 2005, 14:08
Zitat von PierreB:
damit meinte ich das man ohne viel (Programmier)Aufwand z.B. Einstellungen eines Programmes speichern kann.
Ich auch...
Sowas...
Delphi-Quellcode:
loop
  BlaBal1 := IniBlablaBla.ReadBlaBla(...);
  BlaBal2 := IniBlablaBla.ReadBlaBla(...);
  BlaBal3 := IniBlablaBla.ReadBlaBla(...);
until URCompletelyNut;
... empfinde ich nicht nur als verflucht hässlich sonder auch als mehr (Programmier)Aufwand, verglichen zu:
Delphi-Quellcode:
OptionDing = class(TCollectionItem)
 published
   property BlaBla1...
   property BlaBla2...
   property BlaBla3...
end;

...

OptionDinger.LoadFromFile(...
  Mit Zitat antworten Zitat