AGB  ·  Datenschutz  ·  Impressum  







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

arbeiten mit array of stringlist

Ein Thema von Jan · begonnen am 15. Feb 2003 · letzter Beitrag vom 17. Feb 2003
Antwort Antwort
Benutzerbild von d3g
d3g

Registriert seit: 21. Jun 2002
602 Beiträge
 
#1
  Alt 15. Feb 2003, 19:14
Hi Jan,

der not-Operator hat eine sehr hohe Gewichtung. Der Ausdruck
not filtarray[i] = nil ist deshalb genau das gleiche wie
(not filtarray[i]) = nil Und weil man den not-Operator nur auf Zahlen und nicht auf Objekte anwenden kann, bekommst du eine Fehlermeldung. Es muss also heißen:
Delphi-Quellcode:
if (not (filtarray[i] = nil)) then
  ObjectExists();
MfG,
d3g
-- Crucifixion?
-- Yes.
-- Good. Out of the door, line on the left, one cross each.
  Mit Zitat antworten Zitat
Antwort Antwort


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 14:39 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