Results 1 to 2 of 2
Thread: creating an XOR mask
Mar 14, 2002, 13:07 #1
creating an XOR mask
how do i mask a bit string with XOR in asp?Free Science Homework Help
Mar 15, 2002, 03:32 #2
- Join Date
- Jul 2001
- 0 Post(s)
- 0 Thread(s)
Don't exactly get what you mean by "mask", tho that might just be me being stupid
You can use XOR like so:
variable = expression1 XOR expression2
test1 = "as"
test2 = 1
result = isNumeric(test1) XOR isNumeric(test2)
will return true because the first conditib is true and the second is false.
And XOR switch works with the logic that one condition must be false and the other must be true to return a true value
And Deth, before you think I was insulting you bu explaining what an XOR switch does, don't be, I was explaining it for everyone else.