PackBitsToDword (FUN)¶
FUNCTION PackBitsToDword : DWORD
Function packs 32 Bits “xBit0” .. “xBit31” into a DWORD.
Example:
PackBitsToDword(
FALSE,FALSE,FALSE,FALSE,FALSE,FALSE,FALSE,TRUE,
FALSE,FALSE,FALSE,FALSE,FALSE,FALSE,TRUE,FALSE,
FALSE,FALSE,FALSE,FALSE,FALSE,FALSE,TRUE,TRUE,
FALSE,FALSE,FALSE,FALSE,FALSE,TRUE,FALSE,FALSE ) = 16#01020304
- InOut:
Scope
Name
Type
Comment
Return
PackBitsToDwordDWORDfunction returns the DWORD defined by the BOOL inputs
Input
xBit31BOOLBit 31 of the Dword
xBit30BOOLBit 30 of the Dword
xBit29BOOLBit 29 of the Dword
xBit28BOOLBit 28 of the Dword
xBit27BOOLBit 27 of the Dword
xBit26BOOLBit 26 of the Dword
xBit25BOOLBit 25 of the Dword
xBit24BOOLBit 24 of the Dword
xBit23BOOLBit 23 of the Dword
xBit22BOOLBit 22 of the Dword
xBit21BOOLBit 21 of the Dword
xBit20BOOLBit 20 of the Dword
xBit19BOOLBit 19 of the Dword
xBit18BOOLBit 18 of the Dword
xBit17BOOLBit 17 of the Dword
xBit16BOOLBit 16 of the Dword
xBit15BOOLBit 15 of the Dword
xBit14BOOLBit 14 of the Dword
xBit13BOOLBit 13 of the Dword
xBit12BOOLBit 12 of the Dword
xBit11BOOLBit 11 of the Dword
xBit10BOOLBit 10 of the Dword
xBit9BOOLBit 9 of the Dword
xBit8BOOLBit 8 of the Dword
xBit7BOOLBit 7 of the Dword
xBit6BOOLBit 6 of the Dword
xBit5BOOLBit 5 of the Dword
xBit4BOOLBit 4 of the Dword
xBit3BOOLBit 3 of the Dword
xBit2BOOLBit 2 of the Dword
xBit1BOOLBit 1 of the Dword
xBit0BOOLBit 0 of the Dword