HIGH

Top  Previous  Next

Action

Retrieves the most significant byte of a variable.

 

 

Syntax

var = HIGH( s )

 

 

Remarks

Var

The variable that is assigned with the MSB of var S.

S

The source variable to get the MSB from.

 

 

See also

LOW , HIGHW

 

 

Example

Dim I As Integer , Z As Byte

I = &H1001

Z = High(i)                                               ' is 10 hex or 16 dec

End