Add purpose lines and bracket-call examples in EN/ZH libs and public/stdlib demos; keep explicit + params so function-body prose cannot be mistaken for link-index or bold code. Co-authored-by: Cursor <cursoragent@cursor.com>
414 B
414 B
title: lib/表 — 列表与字典 description: 改 / 行数 / 取行(代码即文档试点) 导入 表:lib/表.mq.md
main
嵌套写入用 表.改;读元用链接取元。
xs =
| v |
|---|
| 甲 |
| 乙 |
xs = [表.改] 入=xs 于=1 值="甲改"
n = > 表.行数 xs=xs
r = > 表.取行 xs=xs i=0
打印 内容=1
打印 内容=n
打印 内容=r