doc: def
This commit is contained in:
parent
16e9aca222
commit
1fdd87a4f3
1 changed files with 13 additions and 0 deletions
|
|
@ -176,3 +176,16 @@ $ chord <Dm9!3 Db7> # voicing
|
|||
/>
|
||||
|
||||
The `$` sign is an alias for `,` so it will create a stack behind the scenes.
|
||||
|
||||
## variables
|
||||
|
||||
using the `def` keyword, you can define variables:
|
||||
|
||||
<MiniRepl
|
||||
client:idle
|
||||
mondo
|
||||
tune={`
|
||||
$ def melody [0 1 2 3]
|
||||
$ n melody # scale C:minor
|
||||
`}
|
||||
/>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue