Autor Beitrag
Ironwulf
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 733
Erhaltene Danke: 2



BeitragVerfasst: So 09.04.06 21:34 
Hy, ich hab mal vor paar monaten in dem forum nen befehl gesehen der nen boolischen wert umkehrt also wenn er auf true steht wird ein false daraus und anders rum, leider find ichs in dem forum nimmer...
und suchbegriffe die mir weiter helfen fallen mir nicht ein, kann mir da jemand weiter helfen?
Marco D.
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 2750

Windows Vista
Delphi 7, Delphi 2005 PE, PHP 4 + 5 (Notepad++), Java (Eclipse), XML, XML Schema, ABAP, ABAP OO
BeitragVerfasst: So 09.04.06 21:38 
Maybe so:
ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
var
b:boolean;

b:=false;
//Umkehrung:
b:= not b;

_________________
Pascal keeps your hand tied. C gives you enough rope to hang yourself. C++ gives you enough rope to shoot yourself in the foot
Ironwulf Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 733
Erhaltene Danke: 2



BeitragVerfasst: So 09.04.06 21:42 
joa danke, ich dacht da gabs extra nen befehl dafür :)
DaRkFiRe
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 526

WinXP Home & Professional
C, C++, Delphi
BeitragVerfasst: So 09.04.06 21:52 
Not ist ein Operator. Demnach gewisserweise auf Assemblerebene ein Befehl.

_________________
Lang ist der Weg durch Lehren - kurz und wirksam durch Beispiele! Seneca