Re: Accessing bits of an array element

Originally Posted by
Art
Currently, this doesn't work:
Arrayelement[0].bit5 = 0
You can create aliases for every array element
and access bits from there, but you can't do it
in a loop because the bit number can't be
a variable, and when you're accessing aliases,
neither can the array index.
One or the other would be an improvement.
I think this is what Art meant to do:
Code:
Temp = Arrayelement[0]
Temp.5 = 0
Arrayelement[0] = Temp
"If the Earth were a single state, Istanbul would be its capital." Napoleon Bonaparte
Bookmarks