INCR/de
(Difference between revisions)
m (1 revision) |
(→(**COPIED FROM ENGLISH PAGE**) =) |
||
Line 1: | Line 1: | ||
− | == (**COPIED FROM ENGLISH PAGE**) === <span class="f_Header"> | + | == (**COPIED FROM ENGLISH PAGE**) === <span class="f_Header">Funktion</span> = |
− | + | Erhöht den Inhalt einer Variablen um eins. | |
<span style="font-family: Arial;"> </span> | <span style="font-family: Arial;"> </span> |
Revision as of 00:39, 20 February 2013
Contents |
= (**COPIED FROM ENGLISH PAGE**) === Funktion
Erhöht den Inhalt einer Variablen um eins.
Syntax
INCR var
Remarks
Var |
Any numeric variable. |
See also
Example
'----------------------------------------------------------------------------------------- 'name : incr.bas 'copyright : (c) 1995-2005, MCS Electronics 'purpose : demo: INCR 'micro : Mega48 'suited for demo : yes 'commercial addon needed : no '----------------------------------------------------------------------------------------- $regfile = "m48def.dat" ' specify the used micro $crystal = 4000000 ' 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 Dim A As Byte A = 5 'assign value to a Incr A 'inc (by one) Print A 'print it End
Languages | English • Deutsch |
---|