Release 2.7.0: executable handbooks and native user-site workflows

This commit is contained in:
cflmy committed 2026-11-10 17:03:06 +08:00
1 parent aa0c4d0f55
commit d9aef957f7
562 files changed
+21064 -20387

No files matched your search

+8 -4
View File
@@ -6,15 +6,19 @@ description: Condition loops and table walks
# main
| 返回 | 类型 | 说明 |
|---|---|---|
| result | any | None; execute this page's documented steps in order and observe their output or stated effects |
Inside a function body, `-` starts a loop (not a parameter).
Countdown:
**`n` = 3**
We first **n = 3** for the next step.
- `n` > 0
> print text=`n`
**`n` = `n` - 1**
We now **[Display this step's result](> print text=`n`)**.
We first **n = (`n` - 1)** for the next step.
Walk a table (tables are collections):
@@ -26,4 +30,4 @@ Walk a table (tables are collections):
| pear |
- [fruit](遍历 basket 为 fruit)
> print text=today `fruit`
We now **[Display this step's result](> print text="today `fruit`")**.