
Zitat von
Duke_2004:
Ich hab das bei mir so gemacht...
type
TFormat = (Querformat, Hochformat);
..
var
Variable:TFormat;
begin
..
Dem schließe ich mich an.
Delphi-Quellcode:
type
TFormat = (ha, hb, hc);
var
MeineVariable: TFormat;
begin
Meine Variable := ha;
if MeineVariable = hb then
MeineVariable := hc;
end;
Ein weiteres Stichwort lautet Typsicherheit.
@Kompon Ente: Lass bitte deine unnötigen Kommentare sein.

Wenn du dir den Thread mal ganz durchliest, weißt du hoffentlich auch warum.
MfG
freak