SPACE/de
Aus MCS Wiki AVR
< SPACE(Unterschied zwischen Versionen)
(→Remarks) |
(→Example) |
||
(2 dazwischenliegende Versionen von einem Benutzer werden nicht angezeigt) | |||
Zeile 20: | Zeile 20: | ||
|- style="vertical-align: top;" | |- style="vertical-align: top;" | ||
| valign="top" width="13%" style="width: 60px; border: 1px solid rgb(0, 0, 0);" | | | valign="top" width="13%" style="width: 60px; border: 1px solid rgb(0, 0, 0);" | | ||
− | + | x | |
| valign="top" width="100%" style="width: 419px; border: 1px solid rgb(0, 0, 0);" | | | valign="top" width="100%" style="width: 419px; border: 1px solid rgb(0, 0, 0);" | | ||
Zeile 27: | Zeile 27: | ||
|- style="vertical-align: top;" | |- style="vertical-align: top;" | ||
| valign="top" width="13%" style="width: 60px; border: 1px solid rgb(0, 0, 0);" | | | valign="top" width="13%" style="width: 60px; border: 1px solid rgb(0, 0, 0);" | | ||
− | + | var | |
| valign="top" width="100%" style="width: 419px; border: 1px solid rgb(0, 0, 0);" | | | valign="top" width="100%" style="width: 419px; border: 1px solid rgb(0, 0, 0);" | | ||
Zeile 42: | Zeile 42: | ||
<span style="font-family: Arial;"> </span> | <span style="font-family: Arial;"> </span> | ||
− | = <span class="f_Header"> | + | = <span class="f_Header">Siehe auch</span> = |
[[STRING]] , [[SPC]] | [[STRING]] , [[SPC]] | ||
Zeile 50: | Zeile 50: | ||
<span style="font-family: Arial;"> </span> | <span style="font-family: Arial;"> </span> | ||
− | = <span class="f_Header"> | + | = <span class="f_Header">Beispiel</span> = |
<br/><source lang="bascomavr"> | <br/><source lang="bascomavr"> | ||
Zeile 63: | Zeile 63: | ||
$regfile = "m48def.dat" ' specify the used micro | $regfile = "m48def.dat" ' specify the used micro | ||
− | $crystal = 8000000 ' | + | $crystal = 8000000 ' Taktfrequenz |
− | $baud = 19200 ' | + | $baud = 19200 ' Baudrate |
$hwstack = 32 ' default use 32 for the hardware stack | $hwstack = 32 ' default use 32 for the hardware stack | ||
$swstack = 40 ' default use 10 for the SW stack | $swstack = 40 ' default use 10 for the SW stack |
Aktuelle Version vom 1. März 2013, 01:29 Uhr
Inhaltsverzeichnis |
Funktion
Gibt eine Zeichenkette zurück, die aus Leerzeichen besteht.
Syntax
var = SPACE(x)
Anmerkungen
x |
Anzahl der Leerzeichen. |
var |
Zeichenkette der zugewiesen wird. |
Die Benutzung von 0 für x ergibt eine leere Zeichenkette.
Siehe auch
Beispiel
'------------------------------------------------------------------------------- 'copyright : (c) 1995-2005, MCS Electronics 'micro : Mega48 'suited for demo : yes 'commercial addon needed : no 'purpose : demonstrates DEG2RAD function '------------------------------------------------------------------------------- $regfile = "m48def.dat" ' specify the used micro $crystal = 8000000 ' Taktfrequenz $baud = 19200 ' Baudrate $hwstack = 32 ' default use 32 for the hardware stack $swstack = 40 ' default use 10 for the SW stack $framesize = 40 ' default use 40 for the frame space Dim S As String * 15 , Z As String * 15 S = Space(5) Print " {" ; S ; " }" '{ } Dim A As Byte A = 3 S = Space(a) End
Languages | English • Deutsch |
---|