MAKEINT/de
(Difference between revisions)
(Created page with "= <span class="f_Header">Action</span> = Compact two bytes into a word or integer. <span style="font-family: Arial;"> </span> <span style="font-family: Arial;"> <...") |
m (1 revision) |
Revision as of 20:15, 15 February 2013
Contents |
= (**COPIED FROM ENGLISH PAGE**) === Action
Compact two bytes into a word or integer.
Syntax
varn = MAKEINT(LSB , MSB)
Remarks
Varn |
Variable that will be assigned with the converted value. |
LSB |
Variable or constant with the LS Byte. |
MSB |
Variable or constant with the MS Byte. |
The equivalent code is:
varn = (256 * MSB) + LSB
See also
LOW , HIGH , MAKEBCD , MAKEDEC
Example
Dim A As Integer , I As Integer A = 2 I = Makeint(a , 1) 'I = (1 * 256) + 2 = 258 End
Languages | English • Deutsch |
---|