BINVAL/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> =
  
 
[[STR]]&nbsp;,&nbsp;[[HEXVAL]]&nbsp;,&nbsp;[[HEX]]&nbsp;,&nbsp;[[BIN]]&nbsp;,&nbsp;[[VAL]]
 
[[STR]]&nbsp;,&nbsp;[[HEXVAL]]&nbsp;,&nbsp;[[HEX]]&nbsp;,&nbsp;[[BIN]]&nbsp;,&nbsp;[[VAL]]

Revision as of 00:24, 2 March 2013

Contents

Funktion

Wandelt die Zeichenkettendarstellung einer binären Zahl in eine Zahl um.

 

 

Syntax

var = Binval( s)

 

 

Anmerkungen

var

Numerische Variable der der Wert von s zugewiesen wird.

s

Zeichenkettenvariable. Sollte nur die Ziffern 0 oder 1 enthalten.

 

 

 

Siehe auch

STR , HEXVAL , HEX , BIN , VAL

 

 

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 S As String * 8
S = "11001100"
 
Dim B As Byte
' assign value to B
B = Binval(s)
 
Print B
End

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