Differences in data types between family members
When it comes to data types, the different VB family members are mostly the same. There are some small differences that I will break down into comparisons in this section.
Differences in data types between VBScript and VB6
Some of the differences in data types between VBScript and VB6 include the following:
- VBScript has a more limited set of data types compared to VB6. For example, VBScript does not have separate data types for
Integer
andlong
integer values and instead uses a single data type calledInteger
to represent both types of values. - VBScript does not have a separate data type for decimal values. Instead, decimal values are stored as floating-point numbers with limited precision.
- VBScript does not have a
Variant
data type like VB6. Instead, VBScript uses theEmpty
keyword to represent a variable with an undefined value. - VBScript does not support user-defined data types like VB6. This means you cannot...