Relational Operators or Comparison Operators in VB Script - TestingQ.com

-->Exclusive Portal for Testing Jobs

Relational Operators or Comparison Operators in VB Script

Relational Operators or Comparison Operators:
When you want to compare two numbers to see which is bigger, if they're equal, or some other type of relationship use the comparison operators listed below. Common uses of comparison operators are within conditional statements like an If Statement or the condition check in a While Loop.

Operator
         Name
 Example
 Result
     =
      Equal To
  10 =1 4
  False
     >
    Greater Than
  10 > 14
  False
     <
     Less Than
   10 < 14
  True
    >=
 Greater Than Or Equal To
  10 >= 14
  False
   <=
  Less Than Or Equal To
  10 <= 14
  True
   <>
     Not Equal To
  10 <> 14
  True




To receive daily posted JOBS & Interview Questions
Just enter your email address below and click 'Submit'
Enter your email address:

Make sure to activate your subscription by clicking on the activation link sent to your email