aye, whilst i'm at it with the Blitz fundamentals (it's always the basic stuff that confuses me as I switch between languages a lot, that plus i'm thick), i've done this before but it's eluding me atm...
Can anyone advise me please of the way to check if a binary bit is set to true in a number, so if I was to check bit two of an TInteger....
if myInt=%0000100 where 0 could be on or off
My memory tells me I do this with AND somehow, but I cant get it to compile :/
Thank you in advance
Can anyone advise me please of the way to check if a binary bit is set to true in a number, so if I was to check bit two of an TInteger....
if myInt=%0000100 where 0 could be on or off
My memory tells me I do this with AND somehow, but I cant get it to compile :/
Thank you in advance