marqdo

ok

stdlib/表.mq.md

Structure

import表:lib/表.mq.md
fn · h1main
comment

嵌套写入用 表.改;读元用链接取元。

bind `xs` = [甲, 乙]
bind `xs` = [表.改] 入=`xs` 于=1 值=甲改
bind `n` = [表.行数] xs=`xs`
bind `r` = [表.取行] xs=`xs` i=0
call> 打印 内容=[1](`xs`)
call> 打印 内容=`n`
call> 打印 内容=`r`
Functions
Variables
  • n int
    2
  • r text
    甲改
  • xs list · 2
    #value
    1甲改
    2

Execution

甲改 2 甲改

Source

---
title: lib/表 — 列表与字典
description: 改 / 行数 / 取行(代码即文档试点)
导入 表:lib/表.mq.md
---

# main

嵌套写入用 表.改;读元用链接取元。

`xs` =

| v |
|---|
| 甲 |
| 乙 |

**`xs` = [表.改] 入=`xs` 于=1 值="甲改"**
**`n` = [表.行数] xs=`xs`**
**`r` = [表.取行] xs=`xs` i=0**

**打印 内容=[1](xs)**
**打印 内容=`n`**
**打印 内容=`r`**

Variable