Quote Originally Posted by Ioannis View Post
is there a way to access a bit in a variable array in PBP? I meen for example like this: array[7].4=1
If you're really using constants as shown, then you can alias the location and access the individual bit
Code:
TheByte  VAR array(7)

TheByte.4 = 1
But you probably want variables for both the byte and bit index's ...
Code:
ByteIDX  VAR BYTE
BitIDX   VAR BYTE

ByteIDX = 7
BitIDX = 4

array.0((ByteIDX<<3)+BitIDX) = 1