Doe MaxIde Concatenation

BlitzMax Forums/BlitzMax Programming/Doe MaxIde Concatenation

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

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