Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Numeric Variable Bugs ?
Message
From
29/04/2003 09:54:22
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Numeric Variable Bugs ?
Miscellaneous
Thread ID:
00782662
Message ID:
00782662
Views:
33
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
Next
Reply
Map
View

Click here to load this message in the networking platform