so I can have: xVar:=TRUE; but I just made my own TRUE and FALSE vars1) I don't know - you should be able to test if and expression is true or not ... Manual says "IF photoeye THEN" or "IF NOT photoeye THEN" I'm not sure why you need TRUE ...
this was just to help determine which bits of a INT are on, while easily identifying which bit I'm looking for like;2) BSL - Just multiply by 2 ... BSR Divide by 2
3) Exponentiation is performed with 2**10 not 2^10
xDoubleWidthMode := (wJobConfig AND SHL(WORD#1,0))<>0;
xDoubleLayerMode := (wJobConfig AND SHL(WORD#1,1))<>0;
xDoubleLengthMode:= (wJobConfig AND SHL(WORD#1,2))<>0;
I know there's a lot of ways to do these things, trouble is I know little of the AB options, all help and advice is gratefully received!