Xor Operator

Addition Operator (+),And Operator,Assignment Operator (=),Concatenation Operator (&),Division Operator (/),Eqv Operator,Exponentiation Operator (^),Imp Operator,Integer Division Operator (\),Is Operator,Mod Operator,Multiplication Operator (*),Negation Operator (-),Not Operator,Operator Precedence,Or Operator,Subtraction Operator (-),Xor Operator Home home | Other Resources other resources | Advertise with us advertise | Link to us link to us | Contact us contact | Bookmark Us!
Google
 
Where can I find good Windows Web Hosting to host my VBScript Site?
You can find good Windows Hosting which support VBScript, ASP, ASP.Net,VisualStudio.Net and MSSQL at a very reasonable low monthly fee at EasyCGI.com and DiscountASP.Net

Xor Operator

Performs a logical exclusion on two expressions.

result = expression1 Xor expression2

Arguments

result

Any numeric variable.

expression1

Any expression.

expression2

Any expression.

Remarks

If one, and only one, of the expressions evaluates to True, result is True. However, if either expression is Null, result is also Null. When neither expression is Null, result is determined according to the following table:

If expression1 isAnd expression2 isThe result is
TrueTrueFalse
TrueFalseTrue
FalseTrueTrue
FalseFalseFalse

The Xor operator also performs a bitwise comparison of identically positioned bits in two numeric expressions and sets the corresponding bit in result according to the following table:

If bit in expression1 isAnd bit in expression2 isThe result is
000
011
101
110

VBScriptOnline.com - Addition Operator (+),And Operator,Assignment Operator (=),Concatenation Operator (&),Division Operator (/),Eqv Operator,Exponentiation Operator (^),Imp Operator,Integer Division Operator (\),Is Operator,Mod Operator,Multiplication Operator (*),Negation Operator (-),Not Operator,Operator Precedence,Or Operator,Subtraction Operator (-),Xor Operator