Files
marqdo/public/stdlib/表.mq.md
T
cflmyandCursor 687c168014 feat(parse): use nested YAML import: maps instead of one-liner binds
Frontmatter imports are now valid YAML (`import:` / `导入:` with bind→target
entries), removing spaced keys. Add `marqdo migrate imports`, hard-error the
old one-liner form, and migrate lib/ext/examples/tests/docs accordingly.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-23 19:33:58 +08:00

27 lines
449 B
Markdown

---
markup: occlusion
title: lib/表 — 列表与字典
description: 改 / 行数 / 取行(代码即文档试点)
导入:
表: lib/表.mq.md
---
# main
嵌套写入用 表.改;读元用链接取元。
`xs` =
| v |
|---|
| 甲 |
| 乙 |
**`xs` = [表.改] 入=`xs` 于=1 值="甲改"**
**`n` = [表.行数] xs=`xs`**
**`r` = [表.取行] xs=`xs` i=0**
**打印 内容=[1](access(xs, "1"))**
**打印 内容=`n`**
**打印 内容=`r`**