MAKEINT/de

(Unterschied zwischen Versionen)
Wechseln zu: Navigation, Suche
((**COPIED FROM ENGLISH PAGE**) =)
(Remarks)
Zeile 23: Zeile 23:
  
 
| valign="top" width="100%" style="width: 530px; border: 1px solid rgb(0, 0, 0);" |  
 
| valign="top" width="100%" style="width: 530px; border: 1px solid rgb(0, 0, 0);" |  
Variable that will be assigned with the converted value.
+
Variable die das Ergebnis der Funktion erhält.
  
 
|- style="vertical-align: top;"
 
|- style="vertical-align: top;"
Zeile 30: Zeile 30:
  
 
| valign="top" width="100%" style="width: 530px; border: 1px solid rgb(0, 0, 0);" |  
 
| valign="top" width="100%" style="width: 530px; border: 1px solid rgb(0, 0, 0);" |  
Variable or constant with the LS Byte.
+
Variable oder Konstante des niederwertigen Bytes.
  
 
|- style="vertical-align: top;"
 
|- style="vertical-align: top;"
Zeile 37: Zeile 37:
  
 
| valign="top" width="100%" style="width: 530px; border: 1px solid rgb(0, 0, 0);" |  
 
| valign="top" width="100%" style="width: 530px; border: 1px solid rgb(0, 0, 0);" |  
Variable or constant with the MS Byte.
+
Variable oder Konstante des höherwertigen Bytes.
  
 
|}
 
|}
Zeile 43: Zeile 43:
 
<span style="font-family: Arial;">&nbsp;</span>
 
<span style="font-family: Arial;">&nbsp;</span>
  
The equivalent code is:
+
Ein dazu äquivalenter Code:
  
 
varn = (256 * MSB) + LSB
 
varn = (256 * MSB) + LSB

Version vom 22. Februar 2013, 14:00 Uhr

Inhaltsverzeichnis

Funktion

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

 

 

Syntax

varn = MAKEINT(LSB , MSB)

 

 

Remarks

Varn

Variable die das Ergebnis der Funktion erhält.

LSB

Variable oder Konstante des niederwertigen Bytes.

MSB

Variable oder Konstante des höherwertigen Bytes.

 

Ein dazu äquivalenter Code:

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