Objekte vergleichen
Übersicht

Zwer99Betreff: Objekte vergleichen |
![]() Antworten mit Zitat ![]() |
|
---|---|---|
Hey Leute!
Kann man in BlitzMax keine Objekte vergleichen? Folgender Code funktioniert nämlich nicht: Code: [AUSKLAPPEN] For Local l_hCation:TCation = EachIn Self.lhActualCations
If Not l_hCation = Self.hSelectedCation Then 'Fehlerzeile l_hCation.setVisible(False) EndIf Next Es kommt diese Fehlermeldung: Zitat: Compile Error: Unable to convert from 'Int' to 'TCation'
Wahrscheinlich kenne ich mal wieder nicht die richtige Syntax dafür ![]() Ich freue mich auf baldige Antworten, Dankeschööön ![]() MfG, Zwer99 |
||
1. Platz: BAC #126 BAC #60 | 2.Platz: BCC #36 | 3. Platz: BCC #18 | Pfurz: BCC #20
Ovion Entertainment |
![]() |
XeresModerator |
![]() Antworten mit Zitat ![]() |
---|---|---|
Setze die Klammern richtig, wäre mein Tipp.
Code: [AUSKLAPPEN] Not(l_hCation = Self.hSelectedCation)
Sonst wird es vermutlich als Code: [AUSKLAPPEN] Not(l_hCation) = Self.hSelectedCation
interpretiert. |
||
Win10 Prof.(x64)/Ubuntu 16.04|CPU 4x3Ghz (Intel i5-4590S)|RAM 8 GB|GeForce GTX 960
Wie man Fragen richtig stellt || "Es geht nicht" || Video-Tutorial: Sinus & Cosinus THERE IS NO FAIR. THERE IS NO JUSTICE. THERE IS JUST ME. (Death, Discworld) |
Zwer99Betreff: Danke! |
![]() Antworten mit Zitat ![]() |
|
---|---|---|
Herzlichen Dank!
Aja! Bei meiner Vorgehensweise versuche ich ein Objekt zu negieren. Hab' ja gewusst, dass es ein Tipp-Problemchen ist Danke nochmals und gute Nacht! |
||
1. Platz: BAC #126 BAC #60 | 2.Platz: BCC #36 | 3. Platz: BCC #18 | Pfurz: BCC #20
Ovion Entertainment |
![]() |
FireballFlame |
![]() Antworten mit Zitat ![]() |
---|---|---|
Warum nimmst du nicht einfach <>? | ||
PC: Intel Core i7 @ 4x2.93GHz | 6 GB RAM | Nvidia GeForce GT 440 | Desktop 2x1280x1024px | Windows 7 Professional 64bit
Laptop: Intel Core i7 @ 4x2.00GHz | 8 GB RAM | Nvidia GeForce GT 540M | Desktop 1366x768px | Windows 7 Home Premium 64bit |
Übersicht


Powered by phpBB © 2001 - 2006, phpBB Group