Does anyone know the VB equivalent to C++'s One's Complement Operator: ~
IIRC, it's Not
Quote from: Noodlez on April 08, 2004, 06:21 PM
IIRC, it's Not
Um....what do you mean it's not?
One's Complement Operator (http://msdn.microsoft.com/library/en-us/vclang/html/_pluslang_one.92.s_complement_operator.asp)
Edit: My question is, how would I recreate the "~" in VB, in order to use it the same way as you would in C++.
Quote from: ChR0NiC on April 08, 2004, 06:33 PM
Quote from: Noodlez on April 08, 2004, 06:21 PM
IIRC, it's Not
Um....what do you mean it's not?
One's Complement Operator (http://msdn.microsoft.com/library/en-us/vclang/html/_pluslang_one.92.s_complement_operator.asp)
Edit: My question is, how would I recreate the "~" in VB, in order to use it the same way as you would in C++.
It seems to be.
Quote from: Adron on April 08, 2004, 06:42 PM
It seems to be.
Why are you guys confusing me in such a way, so it is possible or it is not possible?
No ones confusing you. I gave you a direct an correct answer, Adron simply confirmed it. Do some research.
Quote from: Noodlez on April 08, 2004, 07:08 PM
No ones confusing you. I gave you a direct an correct answer, Adron simply confirmed it. Do some research.
A yes or no will do.
I believe you can also achieve the same effect by XORing with all ones (binary).