![]() |
if not - Abfrage
Hallo,
wie kann ich Prüfen ob Etwas nicht = Etwas ist? Also:
Delphi-Quellcode:
Gruß
if Label2.Caption not = '' then
Thomas |
Re: if not - Abfrage
Hi,
Delphi-Quellcode:
Gruß
//entweder
IF NOT (x=y) THEN //oder IF (x<>y) THEN Stephan :dance: |
Re: if not - Abfrage
Code:
If (not Label1.Caption = '') then
|
Re: if not - Abfrage
Du willst Ungleichheit überprüfen? Nimm doch den "negierten Vergleichsoperator", besser bekannt als <> ;)
|
Re: if not - Abfrage
Hi,
also wenn mich nicht alles täuscht geht es mit
Code:
if not (label2.caption=' ') then ...
|
Re: if not - Abfrage
Zitat:
|
Re: if not - Abfrage
Oder (Beispiel für <>)
Delphi-Quellcode:
if Label1.Caption <> '' then
... |
Alle Zeitangaben in WEZ +1. Es ist jetzt 09:29 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz