Files
marqdo/tests/executable_knowledge/baseline/04-access-loop/main.mq.md
T
cflmyandCursor ecbdd18303 feat: executable-knowledge S0–S1 gate plus effect and MLSP reuse subset
Establish author baseline fixtures and offline tests, make SemanticProject
the sole authority for graph edges, classify named steps, and tighten
local reuse so unknown effects are not pure and MLSP binds by SymbolId.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-23 22:52:06 +08:00

20 lines
422 B
Markdown

---
markup: occlusion
title: S0 表格取元与遍历
status: implemented
import:
json: lib/json.mq.md
---
# main
`表` = > json.parse text={"键":"值"}
`列` = > json.parse text=["一","二"]
**a = [取表项](access(`表`, "键"))**
**b = [取列表第二项](access(`列`, 2))**
> print text="a=" + `a`
> print text="b=" + `b`
- [篮子里的每个果子](遍历 `列` 为 `果`)
> print text="果子=" + `果`