1
0
mirror of https://github.com/dschmenk/PLASMA.git synced 2024-09-29 16:55:22 +00:00

Better inc/dec example

This commit is contained in:
David Schmenk 2016-01-06 12:58:02 -08:00
parent 8e62b45c4a
commit 8820e8c5d4

View File

@ -521,10 +521,11 @@ PLASMA has an increment and decrement statement. This is different than the incr
```
byte i
i = 0
while i < 100
i++
loop
i = 4
i++ // increment i by 1
puti(i) // print 5
i-- // decrement i by 1
puti(i) // print 4
```
#### Control Flow