Dim / assignment
Declares a variable.
Syntax
Dim name name = value
Description
VBScript does not specify types (all are Variant). Declared with Dim, assigned with =. String concatenation uses &.
Example
Loading editor…
This language is for reference/learning only — copy the code and try it in your own environment.
Expected output
Hello HexLibrary
When to use?
Storing all kinds of data.
Common mistakes
- ⚠️ String concatenation uses & instead of + (in VBScript).