`import json:lib/json.mq.md` binds file libraries; `import fmt:time.format` binds member short names (replaces `> use`). Legacy `> path.mq.md` / `> use` now hard-error with a hint. Migrates repo docs, skills, ext, lib, public, examples, man-test and tests; adds a negative gold and updates view/catalog rendering. Co-authored-by: Cursor <cursoragent@cursor.com>
335 B
335 B
title: lib/表 — 列表 description: 行数与取行 导入 表:lib/表.mq.md
main
导入 lib/表.mq.md。函数:行数(xs)、取行(xs, i)。单列表在运行时是列表。
xs =
| v |
|---|
| 甲 |
| 乙 |
n = > 表.行数 xs=xs
打印 内容=
n
r = > 表.取行 xs=xs i=0
打印 内容=
r