Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP Bitwise Functions. ---PLEASE HELP!
Message
From
12/10/2001 21:28:17
 
 
To
12/10/2001 16:55:56
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00567866
Message ID:
00568077
Views:
20
>Again... I feel like an idiot.... Your explanation was way over my head. I'm not sure how to apply your suggestions in the original example I gave. Larry suggested that I do the following if the value is greater than 32767
>
>-(2^16) + lcTest
>
>How would you change that? -Jeff
>p.s. sorry to be a pest.

See Sergey's code. It's been so long since I've done AL, it had gotten simplified in my mind<g>. He's correct that negative numbers are stored in two's complement form (more complication) and not in the manner I described. See if his code will work for you.


Jay
Previous
Reply
Map
View

Click here to load this message in the networking platform