Einzelnen Beitrag anzeigen

Benutzerbild von himitsu
himitsu

Registriert seit: 11. Okt 2003
Ort: Elbflorenz
43.152 Beiträge
 
Delphi 12 Athens
 
#2

Re: Konstante eines Records in Konstante eines Records verwe

  Alt 8. Mai 2009, 09:44
scheint wohl nicht zu gehn

und nichmal das geht ... Hallo.a ist keine Konstante
Delphi-Quellcode:
type THallo = record
  a, b: Integer;
end;

const Hallo: THallo = (a: 1; b: 2);

type TTest = record
  c: Integer;
  d: THallo;
end;

const Test: TTest = (c: 1; d: (a: Hallo.a; b: Hallo.b));
Garbage Collector ... Delphianer erzeugen keinen Müll, also brauchen sie auch keinen Müllsucher.
my Delphi wish list : BugReports/FeatureRequests
  Mit Zitat antworten Zitat