vbscript operators code example

Example: operators vbscript

'VBScript Arithmetic Operators
+ (addition)
- (subtraction)
* (multiplication)
/ (division)
% (modulus)
^ (exponentiation)
& (concatenation)

'VBScript Comparison Operators
a==b  will return false.
a<>b will return true.
a<b will return true.
a>b will return false.
a<=b will return true.
a>=b will return false.

'VBScript Logical operators: AND, OR
x AND y  will return false.
x OR y will return true.
NOT(x OR y) will return false.	
x XOR y will return true.

Tags:

Vb Example