There are different variable types for different purposes. In Visual Basic 6 the following variable types are available:
Array
Boolean
Byte
Currency
Date
Double
Integer
Long
Single
String
Variant
You declare a variable by using the Dim keyword:
Dim RandomNumber As Integer
If you ...