Variable names may include ~`!{}|\+<>.-_@#$%^&*():;',?/ as well as the more familiar a-z, A-Z, and 0-9 characters. All of the following assignments are valid.

- Code: Select all
`setvar "[a~b]" "a~b"`

setvar "[a`b]" "a`b"

setvar "[a!b]" "a!b"

setvar "[a{b]" "a{b"

setvar "[a}b]" "a}b"

setvar "[a|b]" "a|b"

setvar "[a\b]" "a\b"

setvar "[a+b]" "a+b"

setvar "[<ab>]" "<ab>"

setvar "[a.b]" "a.b"

setvar "[a-b]" "a-b"

setvar "[a_b]" "a_b"

setvar "[a@b]" "a@b"

setvar "[a#b]" "a#b"

setvar "[a$b]" "a$b"

setvar "[a%b]" "a%b"

setvar "[a^b]" "a^b"

setvar "[a&b]" "a&b"

setvar "[a*b]" "a*b"

setvar "[a(b]" "a(b"

setvar "[a)b]" "a)b"

setvar "[a b]" "a b" ..space between letters

setvar "[a:b]" "a:b"

setvar "[a;b]" "a;b"

setvar "[a'b]" "a'b"

setvar "[a,b]" "a,b"

setvar "[a?b]" "a?b"

setvar "[a/b]" "a/b"

Characters not permitted in variable names are '[' (left bracket), ']' (right bracket), '"' (double quote), and '=' (equal sign). For example, the following variable assignment is invalid because of the '=' sign.

- Code: Select all
`setvar "[a=b]" "a=b"`

Variable names are case insensitive. That is, SetVar "[a]" "A" and SetVar "[A]" "A" each assign a value to the same variable [A].