Files
marqdo/public/stdlib/表.mq.md
T
cflmyandCursor a53ebb65ee Add host stdlib modules and unify view/run capabilities.
Ship fs/time/sys/json/net L1 libs (plus existing text/table), default-on host caps with soft exit under view, bilingual public/stdlib docs, and design notes for deferred math/foreign.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-05 10:03:54 +08:00

318 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