Re: Differences between VB6 and VB.Net causing problem
- From: "Bill McCarthy" <Bill@xxxxxxxxxxxxx>
- Date: Wed, 22 Oct 2008 05:16:01 +1100
Larry,
"Larry Serflaten" <serflaten@xxxxxxxxxxxxxx> wrote in message news:%23q0pc94MJHA.276@xxxxxxxxxxxxxxxxxxxxxxx
"Bill McCarthy" <Bill@xxxxxxxxxxxxx> wrote
(4) This one's for Larry. Bitwise operators require the types to be bitwise.
In VB6 only byte, Integer and Long are bitwise numerics. You can't do
bitwise operations directly on a Decimal type: a conversion, implicit or
otherwise, is required to one of the bitwise types first.
(5) Also for Larry: True is 16 bit. Boolean is 16 bit.
I then showed you that Decimals can use bitwise operators,
so you change that to:
Read 4 again. You can't do bitwise operatiosn directly on a Decimal.
The native type for VB6 is 32 bits. It would be more
likely that 'True' starts out as a native type, than for any
other type. I can't prove it does, any more than you can
prove it doesn't, yet you know for sure, because you say
so....
Geewizz Larry, didn't I show you what happens when you assign True to a Variant ? Are you ignoring that because it doesn't fit with what you want to believe ? How about CopyMemory then ?
Dim x As Long
CopyMemory x, True, 4
Oh look... it's 16 bit.
You have been showing such blatent arrogance in your
responses that I have lost interest in discussing it with you
any further.
That's a very inappropriate response Larry, especially given how wrong you have been.
.
- Follow-Ups:
- References:
- Differences between VB6 and VB.Net causing problem
- From: Howard G
- Re: Differences between VB6 and VB.Net causing problem
- From: Tom Shelton
- Re: Differences between VB6 and VB.Net causing problem
- From: expvb
- Re: Differences between VB6 and VB.Net causing problem
- From: Tom Shelton
- Re: Differences between VB6 and VB.Net causing problem
- From: Bill McCarthy
- Re: Differences between VB6 and VB.Net causing problem
- From: Larry Serflaten
- Re: Differences between VB6 and VB.Net causing problem
- From: Bill McCarthy
- Re: Differences between VB6 and VB.Net causing problem
- From: Larry Serflaten
- Re: Differences between VB6 and VB.Net causing problem
- From: Bill McCarthy
- Re: Differences between VB6 and VB.Net causing problem
- From: Larry Serflaten
- Re: Differences between VB6 and VB.Net causing problem
- From: Bill McCarthy
- Re: Differences between VB6 and VB.Net causing problem
- From: Larry Serflaten
- Re: Differences between VB6 and VB.Net causing problem
- From: Bill McCarthy
- Re: Differences between VB6 and VB.Net causing problem
- From: Larry Serflaten
- Re: Differences between VB6 and VB.Net causing problem
- From: Robert Morley
- Re: Differences between VB6 and VB.Net causing problem
- From: Larry Serflaten
- Re: Differences between VB6 and VB.Net causing problem
- From: Schmidt
- Re: Differences between VB6 and VB.Net causing problem
- From: Bill McCarthy
- Re: Differences between VB6 and VB.Net causing problem
- From: Larry Serflaten
- Differences between VB6 and VB.Net causing problem
- Prev by Date: Visio window state changes on re-open
- Next by Date: Re: Dual monitors
- Previous by thread: Re: Differences between VB6 and VB.Net causing problem
- Next by thread: Re: Differences between VB6 and VB.Net causing problem
- Index(es):