Zitat von
ma2xx:
Delphi-Quellcode:
TTest = record
case Typ:Boolean of
false: (T1 :Integer);
true: (T2 :Double);
end;
Probier's mit...
Delphi-Quellcode:
type
TTest = record
Typ : Boolean;
case Boolean of
False: (T1: Integer);
True : (T2: Double);
{ end; }
end;
...ist das gleiche in grün.