Page 1 of 1

unsigned Long ????

Posted: Fri Dec 25, 2009 5:02 pm
by j50501313

ipnum.q = -632473845
depth.l = 29
Debug (-632473845 - $FFFFFFFF) And (1 << 29 )
Debug (ipnum - $FFFFFFFF) And (1 << depth )
Use a variable modal results are not the same, and why?

Re: unsigned Long ????

Posted: Fri Dec 25, 2009 5:09 pm
by Kaeru Gaman
*DEL*

Re: unsigned Long ????

Posted: Fri Dec 25, 2009 6:36 pm
by netmaestro
It's not the same because the result is generated by illegal code and is therefore meaningless. 'And' is a logical operator for use in an 'If' block and can't be used for any other purpose.