HIGHW/de

(Difference between revisions)
Jump to: navigation, search
((**COPIED FROM ENGLISH PAGE**) =)
(Remarks)
Line 15: Line 15:
 
<span style="font-family: Arial;">&nbsp;</span>
 
<span style="font-family: Arial;">&nbsp;</span>
  
= <span class="f_Header">Remarks</span> =
+
= <span class="f_Header">Anmerkungen</span> =
 
<div style="padding: 0px; margin: 0px 0px 0px 4px;">
 
<div style="padding: 0px; margin: 0px 0px 0px 4px;">
 
{| width="485" cellspacing="0" cellpadding="1" border="1" style="border: 2px solid rgb(0, 0, 0); border-spacing: 0px; border-collapse: collapse;"
 
{| width="485" cellspacing="0" cellpadding="1" border="1" style="border: 2px solid rgb(0, 0, 0); border-spacing: 0px; border-collapse: collapse;"
Line 23: Line 23:
  
 
| valign="top" width="91%" style="width: 426px; border: 1px solid rgb(0, 0, 0);" |  
 
| valign="top" width="91%" style="width: 426px; border: 1px solid rgb(0, 0, 0);" |  
The variable that is assigned with the MS word of var S.
+
Eine Variable die das höherwertige Word von s aufnimmt.
  
 
|- style="vertical-align: top;"
 
|- style="vertical-align: top;"
Line 30: Line 30:
  
 
| valign="top" width="91%" style="width: 426px; border: 1px solid rgb(0, 0, 0);" |  
 
| valign="top" width="91%" style="width: 426px; border: 1px solid rgb(0, 0, 0);" |  
The source variable to get the MSB from.
+
Die Quellvariable von der das höherwertige WORD kopiert wird.
  
 
|}
 
|}
Line 36: Line 36:
 
<span style="font-family: Arial;">&nbsp;</span>
 
<span style="font-family: Arial;">&nbsp;</span>
  
There is no LowW() function. This because when you assign a Long to a word or integer, only the lower part is assigned. For this reason you do not need a Loww() function. W=L will do the same.
+
Eine Funktion LowW() gibt es nicht. Der Gund dafür ist, wenn ein LONG einem WORD oder INTEGER zugewiesen wird, wird  das niederwertige WORD übergeben. WORD = LONG führt also bereits zu diesem Ergebnis.  
  
 
<span style="font-family: Arial;">&nbsp;</span>
 
<span style="font-family: Arial;">&nbsp;</span>

Revision as of 21:41, 23 February 2013

Contents

Funktion

Gibt das höherwertige WORD eines LONG zurück.

 

 

Syntax

var = HIGHW( s )

 

 

Anmerkungen

Var

Eine Variable die das höherwertige Word von s aufnimmt.

S

Die Quellvariable von der das höherwertige WORD kopiert wird.

 

Eine Funktion LowW() gibt es nicht. Der Gund dafür ist, wenn ein LONG einem WORD oder INTEGER zugewiesen wird, wird das niederwertige WORD übergeben. WORD = LONG führt also bereits zu diesem Ergebnis.

 

 

See also

LOW , HIGH

 

 

Example


Dim X As Word , L As Long
L = &H12345678
X = Highw(l)
Print Hex(x)

Languages   English Deutsch  
Personal tools
Namespaces
Variants
Actions
Navigation
In other languages
Language