HIGHW
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
LOW HIGH LOWW


Example
Dim I As Long , Z As Word
I = &H10011001
Z = High(I)