marqdo

Branchok

structure/04-branch.mq.md

文档

main

说明

Italic lines are statements. Branches use +; a head that is only * is the else arm.

`x` = 0
  1. x > 0
    > print text=positive
  2. x < 0
    > print text=negative
  3. else
    > print text=zero
Functions
Variables
  • description text
    `+` arms; a lone `*` arm is else
  • markup text
    occlusion
  • title text
    Branch
  • x int
    0
可执行知识(辅助)

运行与结果

zero
完整源码
---
markup: occlusion
title: Branch
description: `+` arms; a lone `*` arm is else
---

# main

Italic lines are statements. Branches use `+`; a head that is only `*` is the else arm.

**`x` = 0**

1. `x` > 0
  > print text=positive
2. `x` < 0
  > print text=negative
3. *
  > print text=zero

Variable