Autor Beitrag
Mordilion
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 96

WinXP Prof., Win2k Prof.
Delphi 7 Prof., Delphi 2009 Prof., PHP4/5, CSS, HTML
BeitragVerfasst: Di 04.03.03 15:37 
ausblenden Quelltext
1:
2:
3:
4:
      if (group) or (host) <> 'ERROR' then begin
         ComboBox1.Items.Add(group);
         ComboBox2.Items.Add(host);
      end;


Was ist an dieser If-abfrage falsch???
ich komme einfach nicht dahinter!!!

Info: group und host sind 2 string variablen.

_________________
Für das große Chaos haben wir Computer. Die übrigen Fehler machen wir von Hand.
Der Mensch ist das wichtigste und kostbarste Peripheriegerät einer Computeranlage.
Keldorn
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 2266
Erhaltene Danke: 4

Vista
D6 Prof, D 2005 Pro, D2007 Pro, DelphiXE2 Pro
BeitragVerfasst: Di 04.03.03 15:41 
Hallo
ausblenden Quelltext
1:
if (group<> 'ERROR' ) or (host<> 'ERROR' ) then					

Mfg Frank

_________________
Lükes Grundlage der Programmierung: Es wird nicht funktionieren.
(Murphy)
Mordilion Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 96

WinXP Prof., Win2k Prof.
Delphi 7 Prof., Delphi 2009 Prof., PHP4/5, CSS, HTML
BeitragVerfasst: Di 04.03.03 15:59 
Jo danke klappt wunderbar :)

_________________
Für das große Chaos haben wir Computer. Die übrigen Fehler machen wir von Hand.
Der Mensch ist das wichtigste und kostbarste Peripheriegerät einer Computeranlage.