`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>
288 B
288 B
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