Variables
Each variable must be declared using the Dim directive. The data type is determined automatically when you assign a value to the variable. Variables are not permanently bound to a specific data type during their lifetime and always have the data type of their current value.
Each variable name begins with a single dollar sign $, followed by uppercase or lowercase letters, digits, or the underscore _. The dollar sign must be followed by a letter. The length of a variable name is not limited. Variable names are case-insensitive, so $ABC is the same as $abc.
Variables can be initialized with a default value using the following syntax:
Dim $variable = value
Examples:
Dim $x, $y, $z
Dim $ABC
Dim $n = 4
Dim $s = "some text"
$x = $n + 4
$y = ($x * 3) + $x
$s = "This is a string"