Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Numeric Variable Bugs ?
Message
De
29/04/2003 09:54:22
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Numeric Variable Bugs ?
Divers
Thread ID:
00782662
Message ID:
00782662
Vues:
34
Hi

On VFP a numeric variable is a double memory value with display format
( this simplifies the life to the VFPT, but complicates my life remarkably ).

A small example:

Z=1073741824
? Z && OK : INTEGER FORMAT

X=-2147483648
? X && OK : FLOAT

? BITSET(0,30) && OK : INTEGER FORMAT

? BITSET(0,31) && OK : FLOAT

Y=BITSET(0,31)
? Y && BUG: INTEGER FORMAT


Fabio
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform