Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Constants using hex
Message
 
 
À
19/03/2008 21:28:13
Mike Sue-Ping
Cambridge, Ontario, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01303578
Message ID:
01303805
Vues:
21
>No. That wouldn't be my idea of fun. I simply started wtih the PowerBasic version of an include file that had those constants defined as noted in my original message. This file was included with RMChart's samples.
>
>I'm assuming that PowerBasic (in combination with RMChart) somehow handled those definitions correctly and VFP cannot without removing the leading FFs.

0xFFF0F8FF is an integer with decimal value of -984833 but VFP interprets it as 4293982463. As I showed in one of the previous messages, BITAND(0xFFF0F8FF, 0xFFFFFFFF) takes care of that problem by correctly casting the value to the integer.
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform