|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Integer and LongIn VB6, we use Integer and Long. In VB.NET does Integer becomes Int32 and
Long becomes Integer ? Thanks. In VB6, Integer is 16 bits, the same as .NET's Int16 data type. In VB.NET,
Integer is 32 bits, the same as .NET's Int32. In VB6 Long is 32 bits, the same as .NET's Int32 data type. In VB.NET, Long is 64 bits, the same as .NET's Int64. ----- Tim Patrick - www.timaki.com Start-to-Finish Visual Basic 2005 Show quoteHide quote > In VB6, we use Integer and Long. In VB.NET does Integer becomes Int32 > and > Long becomes Integer ? > Thanks. "fniles" <fni***@pfmail.com> schrieb: VB6:> In VB6, we use Integer and Long. In VB.NET does Integer becomes Int32 and > Long becomes Integer ? 'Integer' = 16-bit signed integer. 'Long' = 32-bit signed integer. VB.NET: 'Short' ('System.Int16') = 16-bit signed integer. 'Integer' ('System.Int32') = 32-bit signed integer. 'Long' ('System.Int64') = 64-bit signed integer. -- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://dotnet.mvps.org/dotnet/faqs/> |
|||||||||||||||||||||||