Action
Retrieves the two most significant bytes of a long.
Syntax
var = HIGHW( s )
Remarks
Var |
The variable that is assigned with the two MSB of var S. It must be an Integer or Word |
S |
The source variable to get the MSB from. Must be a long |
See also
Example
Dim I As Long , Z As Word
I = &H10011001
Z = HighW(I)