Upon comparing a 64 bit integer, it seems as if I can not compare the value beyond the 30th bit level. So example:

If (Int64[0] == 1073741824) Then

String01 = “I know only bit 30 is ON”;

Elseif (Int64[0] == 2147483648) Then

String01 = “I know only bit 31 is ON”;

Endif

The program recognizes that Int64[0] == 1073741824 (which is the value of just bit 30 on), but not 2147483648 (which is the value of just bit 31 on or a 1)

So, I replaced the code with this, but it is not what I truly want, nor will it work with my application…

Elseif (IsBitOnInNumTableElement(0, Int64, 31)) Then

String01 = “I know bit 31 is On, but I don’t know if it is the only bit On”;

And that worked when I typed a value of 2147483648 for Int64[0].

Why won’t the first example work? Is there something I’m overlooking?

I am only simulating this in PAC Sim… Will it actually work with a SNAP PAC R1?

Any feedback would be appreciated.