Hi Fabio,
>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 ).
The numeric values are stored internaly in VFP either as 4 bytes integer or 8 byte floating point.
>
>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
>
>
The BITxxx VFP functions operate on integers and return integer as result.
--sb--