Tuesday, April 5, 2011

VBScript Operators


Computational


These are probably the most common operators. They are used for common mathematical operations.


Multiplication ( * )
Division ( / )
Modulo arithmetic ( Mod )
Addition ( + )
Subtraction ( - )


Logical


These operators are very commonly used in conditional statements like “if”
and “switch” that you will be learning about shortly.


Logical NOT ( NOT )
Less than ( < ) Greater than ( > )
Less than or equal to ( <= ) Greater than or equal to ( >= )
Equality ( = )
Inequality ( <> )
Logical AND ( and )
Logical OR ( or )
Logical XOR ( Xor)


Assignment


It is important to note that the single equal sign is used for assignment and
for testing equality


Assignment ( = )

No comments:

Post a Comment