19 lines
338 B
Markdown
19 lines
338 B
Markdown
---
|
|
markup: occlusion
|
|
title: Functions and named calls
|
|
description: `#` defines functions; `>` calls; `-` lists parameter names
|
|
---
|
|
|
|
# main
|
|
|
|
Use `#` / `##` for functions. Parameters are bare `- name` lines under the heading.
|
|
|
|
Call with `>` and named args `param=value`:
|
|
|
|
> greet who=World
|
|
|
|
## greet
|
|
+ `who`
|
|
|
|
> print text=Hello `who`!
|