It is not clear what you want to do, because a DWORD contains 32 bits.
If you just want to get a certain bit out of the DWORD, you could use e.g.:
xBool := dwDword.0;
If this is not what you want, then please specify which 4 bits you would like to have as output of the function.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I'm looking for a way to convert a DWORD into 4 BIT Outputs so I can use them all within my code. Can anyone help?
It is not clear what you want to do, because a DWORD contains 32 bits.
If you just want to get a certain bit out of the DWORD, you could use e.g.:
xBool := dwDword.0;
If this is not what you want, then please specify which 4 bits you would like to have as output of the function.