04-branchok
Structure
fn · h1main
comment
bind
`x` = 0branch
arm
`x` > 0call
> print text=positivearm
`x` < 0call
> print text=negativearm
elsecall
> print text=zeroFunctions
Variables
-
x int00
Execution
zero
Source
--- 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
Italic lines are statements. Branches use
+; a head that is only*is the else arm.