Signature (Visual Basic / VBA)
Public Function HIBYTE( _
ByVal vValue As Integer _
) As Byte
Code Example
HIBYTE(513) = 2
HIBYTE(258) = 1
HIBYTE(-2) = 255
HIBYTE(-257) = 254
Notes & Version History
| Note | Use the CoerceTwoBytesToInteger function to reconstruct an Integer from two Byte values. |
| Note | Similar to but faster than using the MakeInteger and CoerceToByte functions. |