Forum: Object-Pascal / Delphi-Language
Delphi
by richard_boderich,
30. Jun 2005
ok jungs,
many THX klammernsetzung wars. folgende loesung funtz bei mir
if ((typ = 'US AntiAir') or (typ='US AntiTank') or (typ='US Soldier') or (typ='US Sniper')) and (Einheitenstatus='Friendly') then image.Picture:=Form1.Inf_gruen.picture;
Forum: Object-Pascal / Delphi-Language
Delphi
by richard_boderich,
30. Jun 2005
moin jung und mädels,
ich hab ein Problem. kann mir vielleicht einer von euch sagen warum diese If Schleife nicht Funktioniert wie sie soll?
if (typ = 'US AntiAir') or (typ='US AntiTank') or (typ='US Soldier') or (typ='US Sniper') and (Einheitenstatus='Friendly') then image.Picture:=Form1.Inf_gruen.picture;
Ich gruebel da jetz schon ewig dran aber komme einfach nicht weiter. die...