What is Variable and how to declare a Variable? - TestingQ.com

-->Exclusive Portal for Testing Jobs

What is Variable and how to declare a Variable?

Variable: Variable is a place holder where we can store the value.
Ex: Dim x
x  =  "TestingQ.com"
msgbox x

"Msgbox" is a predefined function which is used to display the value.

How to declare a variable:

  • First character should be alphabet.
  • No special characters are allowed  except underscore ( _ )
  • Keywords are not allowed.
  • It should not exceed 255 characters
Ex: Dim a123, abc_, ab_54

No comments:

Post a Comment