Hello,
I was wondering if there was a way to set up a Bit Registry in AX 2012 that I can keep in memory.
To better clarify my question I would like to represent in text what I would like to do with bit flags.
What I wish to do, is return a hexadecimal value based on a set of bits, then I would like to test each bit to make sure it is a specific value, and then I would like to be able to shift the bits left or right.
In this example, I am bit shifting the d bit left one bit.
a b c d
1| 0 0 0 1
a b c d
2| 1 0 1 0
a b c d
3| 0 1 0 0
a b c d
4| 1 0 0 0
As well, I would like to include "blocks"; where it "skips" certain bits, and when I hit the "wall" (or "a") it goes back to "d".
a b x d
1| 0 0 0 1
a b x d
2| 0 1 0 0
a b x d
3| 1 0 0 0
a b x d
4| 0 0 0 1
Is this something that is possible in AX 2012?