Files
marqdo/examples/loop.mq.md
T
cflmyandCursor 0ae5bce70a Revise v0.1: italic statements, bold returns, output as a function.
Clarify comment vs executable surfaces, make ---/*** optional control-flow frames, and keep implementation language undecided pending spikes.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-04 10:55:09 +08:00

241 B

title
title
循环示例

main

while:倒数

n = 3

  • n > 0

    输出 内容=n n = n - 1

foreach:遍历篮子

篮子 =

果
苹果
梨
  • 果

    输出 内容=今天吃果