Support and Documentation
Breadcrumbs

4.39 - FourPack (ActiveX only) [U12 Datasheet]

This function is only in the OCX, and is used to convert a 4 element array into an integer. The packed value is determined as: valueA + (valueB * 2^8) + (valueC * 2^16) + (valueD * 2^24).

Declaration:

long FourPack ( long valueA,
long valueB,
long valueC,
long valueD )

Parameter Description:
Returns: Packed representation of a 4 element array.
Inputs:

  • valueA – Element 0 of the array to be converted.

  • valueB – Element 1 of the array to be converted.

  • valueC – Element 2 of the array to be converted.

  • valueD – Element 3 of the array to be converted.