what I am saying that LOGICAL operator is executed before BINARY operators

thus, the expression:
IF Not GetFileAttr( "C:\TEMP" ) & 16

is same as:
IF ((Not GetFileAttr( "C:\TEMP" )) & 16)

again, I can't proof this as we don't have a nice listing of the precedence here available.
but I remember some listing that showed BINARY NOT as the lowest of all in the precedence.
that would suggest that binary operands all are lower in the hierarchy than logical ones.
_________________________
!

download KiXnet