Files
marqdo/tests/lib/math-random.mq.md
T
cflmyandCursor ecc92f473a Unify frontmatter imports as import bind:target and drop > imports.
`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>
2026-08-13 10:03:21 +08:00

23 lines
288 B
Markdown

---
title: math random seed
import math:lib/math.mq.md
---
# main
> math.seed value=42
*`a` = > math.random_int min=1 max=10 *
*`b` = > math.random_int min=1 max=10 *
> math.seed value=42
*`c` = > math.random_int min=1 max=10 *
> print text=`a`
> print text=`b`
> print text=`c`