MAKEINT/de

(Difference between revisions)
Jump to: navigation, search
((**COPIED FROM ENGLISH PAGE**) =)
(Remarks)
Line 23: Line 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;"
Line 30: Line 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;"
Line 37: Line 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.
  
 
|}
 
|}
Line 43: Line 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

Revision as of 14:00, 22 February 2013

Contents

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  
Personal tools
Namespaces
Variants
Actions
Navigation
In other languages
Language