473,326 Members | 2,125 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

Integer versus Int32

Hi,

Does anyone know if Integer will always be a synonym for System.Int32, or
could a 64-bit version of VB.Net map it to System.Int64 instead? Thanks.
Nov 20 '05 #1
4 2885
Integer always maps to System.Int32, whether you're on a 64bit platform or
not.

hth

M. Posseth MCP

"Sheila Jones" <sh****************@btopenworld.com> wrote in message
news:Ow**************@TK2MSFTNGP09.phx.gbl...
Hi,

Does anyone know if Integer will always be a synonym for System.Int32, or
could a 64-bit version of VB.Net map it to System.Int64 instead? Thanks.

Nov 20 '05 #2
Sheila,
Does anyone know if Integer will always be a synonym for System.Int32, or
could a 64-bit version of VB.Net map it to System.Int64 instead? Thanks.


It will probably always map to Int32, even on 64-bit runtimes. But
since the VB team has quite a poor history when it comes to language
stability, you can never know for sure.

Mattias

--
Mattias Sjögren [MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.
Nov 20 '05 #3
* "Sheila Jones" <sh****************@btopenworld.com> scripsit:
Does anyone know if Integer will always be a synonym for System.Int32, or
could a 64-bit version of VB.Net map it to System.Int64 instead?


Yes, it will (hopefully) always map to 'Int32'.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
<URL:http://dotnet.mvps.org/dotnet/faqs/>
Nov 20 '05 #4
It will allways map to a 32 Bit type.

--

OHM ( Terry Burns )
. . . One-Handed-Man . . .

Time flies when you don't know what you're doing

"Sheila Jones" <sh****************@btopenworld.com> wrote in message
news:Ow**************@TK2MSFTNGP09.phx.gbl...
Hi,

Does anyone know if Integer will always be a synonym for System.Int32, or
could a 64-bit version of VB.Net map it to System.Int64 instead? Thanks.

Nov 20 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

14
by: David Fisher | last post by:
The most common sizes of integer types seem to be: 8 bits - signed char 16 bits - short 16 or 32 bits - int 32 or 64 bits - long Question #1: Does anyone know how common sizes other than...
4
by: Lars von Wedel | last post by:
Hello, I have problems to implement a C# component which is called by a VB6 application through COM. A method Item accepts a variant as a parameter which can contain either a string or an...
10
by: Paul Sullivan | last post by:
decimal d; d = 1.1M OR d= (decimal) 1.1 Discussioon
61
by: John Baker | last post by:
When declaring an integer, you can specify the size by using int16, int32, or int64, with plain integer being int32. Is integer the accepted default in the programming community? If so, is...
5
by: Boni | last post by:
Dear all, how do I convert a .NET integer into System.Uint32 (needed to call external function) Thanks, Boni
6
by: John Dann | last post by:
I'm trying to use a third party .Net charting control. One of its methods takes a standard 4-byte integer as a parameter (to specify a colour actually, but it's done as a standard integer value and...
2
by: fniles | last post by:
In VB6, we use Integer and Long. In VB.NET does Integer becomes Int32 and Long becomes Integer ? Thanks.
1
by: =?Utf-8?B?RG9u?= | last post by:
Hello, I'm creating a web service that will allow people to enter their contact information into a SQL Server table. I get it to work when I enter all of the fields and press the invoke button,...
1
by: vijjirams | last post by:
Hi All, May I know what is the difference between Small integer and Capital integer. Thanks in advance Regards, -vijji
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.