General information
Title:
Numeric Variable Bugs ?
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only