unsigned Long ????

Just starting out? Need help? Post your questions and find answers here.
j50501313
User
User
Posts: 20
Joined: Fri Oct 23, 2009 11:51 am

unsigned Long ????

Post 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?
Last edited by j50501313 on Fri Dec 25, 2009 5:17 pm, edited 1 time in total.
User avatar
Kaeru Gaman
Addict
Addict
Posts: 4826
Joined: Sun Mar 19, 2006 1:57 pm
Location: Germany

Re: unsigned Long ????

Post by Kaeru Gaman »

*DEL*
Last edited by Kaeru Gaman on Fri Dec 25, 2009 6:51 pm, edited 1 time in total.
oh... and have a nice day.
User avatar
netmaestro
PureBasic Bullfrog
PureBasic Bullfrog
Posts: 8451
Joined: Wed Jul 06, 2005 5:42 am
Location: Fort Nelson, BC, Canada

Re: unsigned Long ????

Post 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.
BERESHEIT
Post Reply