ASP Hosting sale!
1,000MB space, 40GB transfer, 1 SQL Server 2000 db! - $9.95 per month*!
Limited Time Offer!

aspdev | articles | tutorials | forums

ASPdev -> ASP Tutorial -> ASP Operators (VBScript)

ASP Operators (VBScript)

VBScript has the following groups of operators - arithmetic operators (+, -, *, /, MOD, etc.), comparison operators (>, <, <>, =, etc.), logical operators (AND, OR, NOT, etc.), and concatenation operators.

When several operations occur in one expression, each part of the expression is evaluated in a prearranged order called operator precedence. If you want to override the standard operator precedence you’ll have to use parentheses. Operations within parentheses are evaluated before those outside.

Here is the general order in which different groups of operators are evaluated

1. Arithmetic operators are evaluated first
2. Comparison operators are evaluated second
3. Logical operators are evaluated third




Contact Us