HEX/de

(Difference between revisions)
Jump to: navigation, search
(Remarks)
(See also)
Line 40: Line 40:
 
<span style="font-family: Arial;">&nbsp;</span>
 
<span style="font-family: Arial;">&nbsp;</span>
  
= <span class="f_Header">See also</span> =
+
= <span class="f_Header">Siehe auch</span> =
  
 
[[HEXVAL]]&nbsp;,&nbsp;[[VAL]]&nbsp;,&nbsp;[[STR]]&nbsp;,&nbsp;[[BIN]]&nbsp;,&nbsp;[[BINVAL]]
 
[[HEXVAL]]&nbsp;,&nbsp;[[VAL]]&nbsp;,&nbsp;[[STR]]&nbsp;,&nbsp;[[BIN]]&nbsp;,&nbsp;[[BINVAL]]

Revision as of 23:43, 1 March 2013

Contents

Funktion

Gibt die Zeichenkettendarstellung einer hexadezimalen Zahl zurück.

 

 

Syntax

var = HEX( x )

 

 

Anmerkungen

var

Zeichenkettenvariable.

x

Numerische Variable vom Typ Byte, Integer, Word, Long, Single oder Double.

 

 

 

Siehe auch

HEXVAL , VAL , STR , BIN , BINVAL

 

 

Example


$regfile = "m48def.dat" ' specify the used micro
$crystal = 8000000 ' used crystal frequency
$baud = 19200 ' use baud rate
$hwstack = 32 ' default use 32 for the hardware stack
$swstack = 10 ' default use 10 for the SW stack
$framesize = 40 ' default use 40 for the frame space
 
Config Com1 = Dummy , Synchrone = 0 , Parity = None , Stopbits = 1 , Databits = 8 , Clockpol = 0
 
 
Dim B As Byte , J As Integer , W As Word , L As Long
B = 1 : J = &HF001
W = &HF001
L = W
 
Print B ; Spc(3) ; Hex(b)
Print J ; Spc(3) ; Hex(j)
Print W ; Spc(3) ; Hex(w)
Print L ; Spc(3) ; Hex(l)
End

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