`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>
27 lines
309 B
Markdown
27 lines
309 B
Markdown
---
|
|
title: import official lib (Chinese)
|
|
导入 文本:lib/文本.mq.md
|
|
导入 表:lib/表.mq.md
|
|
---
|
|
|
|
# main
|
|
|
|
*`t` = > 文本.去空白 s= x *
|
|
|
|
> 打印 内容=`t`
|
|
|
|
`xs` =
|
|
|
|
| v |
|
|
|---|
|
|
| a |
|
|
| b |
|
|
|
|
*`n` = > 表.行数 xs=`xs`*
|
|
|
|
> 打印 内容=`n`
|
|
|
|
*`row` = > 表.取行 xs=`xs` i=0*
|
|
|
|
> 打印 内容=`row`
|