mirror of
https://github.com/dschmenk/PLASMA.git
synced 2025-01-01 06:32:07 +00:00
Update README.md
This commit is contained in:
parent
255061f75a
commit
873b2b58f9
@ -465,7 +465,7 @@ keyin = @keyin2plus // address-of keyin2plus function
|
|||||||
key = keyin()
|
key = keyin()
|
||||||
```
|
```
|
||||||
|
|
||||||
Lambda functions are anonymous functions that can be used to return a value (or multiple values). They can be used as function pointers to routines that need a quick and dirty expression. They are written an '&' (a poor man's lambda symbol) followed by parameters in parentheses, and the resultant expression. There are no local variables allowed.
|
Lambda functions are anonymous functions that can be used to return a value (or multiple values). They can be used as function pointers to routines that need a quick and dirty expression. They are written as '&' (a poor man's lambda symbol) followed by parameters in parentheses, and the resultant expression. There are no local variables allowed.
|
||||||
|
|
||||||
```
|
```
|
||||||
word result
|
word result
|
||||||
@ -493,7 +493,7 @@ if ^pushbttn3 < 128
|
|||||||
key = $CE // N
|
key = $CE // N
|
||||||
fin
|
fin
|
||||||
else
|
else
|
||||||
key = key | $E0
|
key = key | $E0
|
||||||
fin
|
fin
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -503,7 +503,7 @@ The `when`/`is`/`otherwise`/`wend` statement is similar to the `if`/`elsif`/`els
|
|||||||
when keypressed
|
when keypressed
|
||||||
is keyarrowup
|
is keyarrowup
|
||||||
cursup
|
cursup
|
||||||
breaking
|
break
|
||||||
is keyarrowdown
|
is keyarrowdown
|
||||||
cursdown
|
cursdown
|
||||||
break
|
break
|
||||||
|
Loading…
Reference in New Issue
Block a user