VB SCRIPT OPERATORS
VB Script's many operators can be separated into four semi-distinct categories:
- Math Operators
- Comparison Operators
- Logic Operators
- String Concatenation Operators
Math Operators:
When you want to perform addition,subtraction,multiplication and other mathematical operations on numbers and variables use the operators listed below.
- + - Add
- - - Subtract
- * - Multiply
- / - Divide
- ^ - Exponent
Comparison Operators:
When you want to compare two number to see which is bigger,if they equal or some other type of relationship use the comparison operators listed below.
- = - equal to
- > - greater than
- < - less than
- <= - greater than or equal to
- >= - less than or equal to
- <> - not equal to
Logic Operators:
Logic operators are used to manipulate and create logical statement.
- NOT
- OR
- AND
Concatenation Operators:
String concatenation is often used when using the document.writefunction
- & - Connected To
0 Comments