Autor Beitrag
FinnO
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 1331
Erhaltene Danke: 123

Mac OSX, Arch
TypeScript (Webstorm), Kotlin, Clojure (IDEA), Golang (VSCode)
BeitragVerfasst: Mi 07.05.08 20:02 
Naja ich habe mal eine stinknormale IF-Verzweigung 'Gecoded'

ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
begin
  if not Mousedown=true then // ich bin Zeile 32...
    begin
       // bla bla bla
    end;
  end;
end.


jetzt kriege ich eine Fehlermeldung von wegen
ausblenden Quelltext
1:
[Pascal Fehler] Unit2.pas(32): E2035 Nicht genügend wirkliche Parameter					
Blackheart666
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 2195

XP
D3Prof, D6Pers.
BeitragVerfasst: Mi 07.05.08 20:21 
Was ist den Mousedown eine Bool, dann benenn ihn mal um.
not und true ist dann auch doppeltgemoppelt.

_________________
Blackheart666
Der Irrsinn ist bei Einzelnen etwas Seltenes, - aber bei Gruppen, Parteien, Völkern, Zeiten die Regel. (Friedrich Nietzsche)
Chryzler
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1097
Erhaltene Danke: 2



BeitragVerfasst: Mi 07.05.08 20:31 
Schreib einfach if not Mousedown then. ;)
FinnO Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 1331
Erhaltene Danke: 123

Mac OSX, Arch
TypeScript (Webstorm), Kotlin, Clojure (IDEA), Golang (VSCode)
BeitragVerfasst: Mi 07.05.08 20:44 
habs selbst dann auch bemerkt :D und das mit doppelt gemoppelt waren schon meine Verzweiflungsakte um diesen *mist*fehler zu umgehen ;)