Skip to content
Discussion options

You must be logged in to vote

Those aren't the same thing. &H8000 evaluates to -32768 whereas &H8000& evaluates to 32768. If the terms are all Integers you won't notice any difference. However if they are Long, what you are doing is the difference between &HFFFF8000& vs &H00008000& which can mess up the bits in the upper portion of the value.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by KubaO
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants