Data Types

To comply with the common language specifications, data types in languages supported by the .NET Framework must map to the types in the System namespace. For example, an Integer maps to System.Int32, and a Long maps to System.Int64. Because of these requirements, some data types in Visual Basic 2005 differ from those in VBA. When you write your code, you can use either the Visual Basic aliases for the data type (Integer, Long, etc.) or the .NET Framework data types (System.Int32, System.Int64, etc.). However, the aliases provided for Visual Basic are much easier to read and remember.

0 0

Post a comment