VB Equivilents

  • Thread starter Thread starter OpticTygre
  • Start date Start date
O

OpticTygre

Are there VB.NET equivilents to the 'uint' and 'ulong' keywords as well as
the bitwise compliment operator '~' ?
 
Are there VB.NET equivilents to the 'uint' and 'ulong' keywords as well as
the bitwise compliment operator '~' ?

Currently VB.NET does no support unsigned values. The ~ operator is
Not. Not is a bitwise operator in VB.NET.
 
Heh...so much for the "Common" language runtime. And programmer's choice.
lol. Oh well. I suppose Int64 could handle values needed by uint and ulong.
 
Heh...so much for the "Common" language runtime. And programmer's choice.
lol. Oh well. I suppose Int64 could handle values needed by uint and ulong.

The CLR does support unsigned numbers, but the CTS does not. VB.NET
does not allow you to violate the CTS yet (next version allows unsigned
numbers).
 
Speaking of which, is there an announced release date on VS 2005 yet? Will
it actually be in 2005? :o)
 
In VB.Net 2003 there are types of Uint16, Uint32, and Uint64 but there's not
much you can do with them, can't multiply them, etc.
 
OpticTygre said:
Speaking of which, is there an announced release date on VS 2005 yet?
Will it actually be in 2005? :o)

There are good chances that it will be in 2005 because otherwise Microsoft
would have to change the product's name :-).
 
Yeah, and that wouldn't be something a multibillion dollar corporation would
do, huh? heheh.
 
Tom said:
Currently VB.NET does no support unsigned values. The ~ operator is
Not. Not is a bitwise operator in VB.NET.

What about UInt16, UInt32, UInt64 ? Admittedly they're not *well*
supported, but they are there and you can use them (painfully).
 
i believe uint was short in VB.Net but you can also look at Intptr.Uint as
well(it has loads of sizes etc)..

Dang I need to get off these pain meds and stop having surgeries it hurts my
head to think.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top