Re: Differences between VB6 and VB.Net causing problem
- From: "Larry Serflaten" <serflaten@xxxxxxxxxxxxxx>
- Date: Tue, 21 Oct 2008 10:12:32 -0500
"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.
You know it all, don't you?
You said:
Oh, and for the record, VB6 and VB.NET do NOT store 0 and -1.
I said:
What do you get when you try to store True to a Decimal type?
You said:
Yeh my bad I should have said all bitwise types. ...
(bitwise types are the types you can use And, Or and XOr with)
I then showed you that Decimals can use bitwise operators,
so you change that to:
You said:
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.
All the while saying I don't know what I'm talking about???
How about you get your facts straight BEFORE jumping on
the keyboard?
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....
You have been showing such blatent arrogance in your
responses that I have lost interest in discussing it with you
any further.
This is going to be my last post to this thread, regardless
of your reply.
LFS
.
- Follow-Ups:
- Re: Differences between VB6 and VB.Net causing problem
- From: Bill McCarthy
- Re: Differences between VB6 and VB.Net causing problem
- 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
- Differences between VB6 and VB.Net causing problem
- Prev by Date: Re: scrolling in textbox Options
- Next by Date: Re: Packaging Script
- 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):
Relevant Pages
|