AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Thema durchsuchen
Ansicht
Themen-Optionen

Problemt mit einer if-Abfrage

Ein Thema von Clane · begonnen am 15. Aug 2005 · letzter Beitrag vom 15. Aug 2005
 
Clane
(Gast)

n/a Beiträge
 
#1

Problemt mit einer if-Abfrage

  Alt 15. Aug 2005, 07:58
also ich habe folgendes programmiert

if not command = 'shutdownand not command = 'lockwstthen showmessage(msg) der sinn:: wenn command nich = shutdown ist und gleichzeitig aber auch nich = lockwst ist soll eine shwomessage angezeigt werden

mein compiler mäckert aber und zwar das hier

Zitat:
[Error] Unit1.pas(46): E2015 Operator not applicable to this operand type
[Error] Unit1.pas(46): E2015 Operator not applicable to this operand type
[Warning] Unit1.pas(46): W1023 Comparing signed and unsigned types - widened both operands
[Error] Unit1.pas(46): E2010 Incompatible types: 'string' and 'Boolean'
[Fatal Error] Server.dpr(5): F2063 Could not compile used unit 'Unit1.pas'
  Mit Zitat antworten Zitat
 


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 00:40 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