SPACE/de
(Difference between revisions)
(→Remarks) |
(→Anmerkungen) |
||
Line 20: | Line 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);" | | ||
Line 27: | Line 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);" | |
Revision as of 01:27, 1 March 2013
Contents |
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.
See also
Example
'------------------------------------------------------------------------------- '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 ' used crystal frequency $baud = 19200 ' use baud rate $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 |
---|