Cor Ligthert said:
Why are you some defintive in this, do you have some documentation I do not
have?
Did you not hear the large outcry when developers first learned that
..Net Integer would be 32 bits??? How many bits does a VB6 Byte have?
How many are there in VB.Net? What do you suppose would happen if
MSFT decided that a Byte in VB.Net now has 16 bits?
The data type names have been the same since version 1. Now in VB.Net
they changed the number of bits and developers did not like it. Why did
they not change the Byte type? Instead they added a new type in place
of VB6 Integers, a 2 byte Short. Why did they not change Byte to 16 bits?
The reason is because the name is supposd to identify the type of data that
the variable can hold. A Byte holds 0-255, a Short is 2 bytes, and an
Integer is 4 bytes. Is a byte going to change for 64 systems, - not very likely.
You show me a page where it is even written that the value of an Integer in
VB6 was 16bits
http://msdn.microsoft.com/library/en-us/vbenlr98/html/vagrpDataType.asp
Where do I not understand you.
This page shows what I am telling in this thread. And still you say that
Integer is a fixed word for Int32.
I would like to say that, but I cant....
As we saw from VB6 to VB.Net, Microsoft can do whatever they want.
I am saying that _most developers_ expect Integer will remain fixed to an
Int32. No one can be sure what MSFT will decide to do....
Have you not noticed that (Microsoft specific) C++ names did not change
in the move from 16 to 32 bit systems? They will not change in size from
32 to 64 either. The names are associated with the size, that is what is expected.
While the C++ language specifies integral names, Microsoft has specific names
that do not change size on different systems. That is what developers expect
from VB. That is how it should be, but no one can say how it will be when
Microsoft can do whatever they feel is in their own best interest....
LFS