Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP Bitwise Functions. ---PLEASE HELP!
Message
De
12/10/2001 21:28:17
 
 
À
12/10/2001 16:55:56
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00567866
Message ID:
00568077
Vues:
25
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform