HIGH
From MCS Wiki AVR
(Difference between revisions)
Admin (Talk | contribs)
(Created page with "= <span class="f_Header">Action</span> = Retrieves the most significant byte of a variable. <span style="font-family: Arial;"> </span> <span style="font-family: Arial;...")
(Created page with "= <span class="f_Header">Action</span> = Retrieves the most significant byte of a variable. <span style="font-family: Arial;"> </span> <span style="font-family: Arial;...")
Latest revision as of 20:15, 11 February 2013
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
Example
Dim I As Integer , Z As Byte I = &H1001 Z = High(i) ' is 10 hex or 16 dec End
Languages | English • Deutsch |
---|