>hello everybody.
>
>it seems, in Vfp6 Sp5, that the following works:
>
>?bitand(2^30, 2^30) = 2^30
>but the next one does not
>?bitand(2^31, 2^31) = 2^31
>
>is this the limitation of BitAnd()?
>
>if so, is there a workaround? currently i need to be able to check for values up to 2^33
>
>thanks for all your help in advance!
Gunnar,
VFP is limited to 32 bits (0-31) with the bitwise operator. This is because of the limitation within the operating system (Windows). If you need to go beyond that boundary, then use either two field to store your vales and deal with that or one character field and deal with that one.
George
Ubi caritas et amor, deus ibi est