As with algebra, VBScript variables are used to hold values or expressions.

A variable can have a short name, like x, or a more descriptive name, like carname.

Rules for VBScript variable names:

  • Must begin with a letter 
  • Cannot contain a period (.)
  • Cannot exceed 255 characters

In VBScript, all variables are of type variant, that can store different types of data.



Practice Excercise Practice now