HIGH

From MCS Wiki AVR
Jump to: navigation, search

Contents

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

Languages   English Deutsch  
Personal tools
Namespaces
Variants
Actions
Navigation
In other languages
Language