MAKEINT/de

(Unterschied zwischen Versionen)
Wechseln zu: Navigation, Suche
K (1 revision)
((**COPIED FROM ENGLISH PAGE**) =)
Zeile 1: Zeile 1:
== (**COPIED FROM ENGLISH PAGE**) === <span class="f_Header">Action</span> =
+
= <span class="f_Header">Funktion</span> =
  
Compact two bytes into a word or integer.
+
Kombiniert zwei Variablen vom Typ Byte zu einem Word oder Interger.
  
 
<span style="font-family: Arial;">&nbsp;</span>
 
<span style="font-family: Arial;">&nbsp;</span>

Version vom 22. Februar 2013, 12:55 Uhr

Inhaltsverzeichnis

Funktion

Kombiniert zwei Variablen vom Typ Byte zu einem Word oder Interger.

 

 

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  
Meine Werkzeuge
Namensräume
Varianten
Aktionen
Navigation
In anderen Sprachen
Sprache