Move gold samples under tests/, put executable user docs in public/, restyle view, and add catalog plus gh-pages publish workflow. Co-authored-by: Cursor <cursoragent@cursor.com>
18 lines
254 B
Markdown
18 lines
254 B
Markdown
---
|
|
title: 分支
|
|
description: `+` 臂;整行 `*` 为 else
|
|
---
|
|
|
|
# main
|
|
|
|
斜体行是程序语句。分支用 `+`;臂头单独一行 `*` 表示 else。
|
|
|
|
*`x` = 0*
|
|
|
|
+ `x` > 0
|
|
> print text=正数
|
|
+ `x` < 0
|
|
> print text=负数
|
|
+ *
|
|
> print text=零
|