Control FlowΒΆ
There are no loops in Clio and all loops should be done using recursion. There is support for if, else if, else statements:
Instead of blocks you can also use an expression:
You can make it even more compact:
There are no loops in Clio and all loops should be done using recursion. There is support for if, else if, else statements:
Instead of blocks you can also use an expression:
You can make it even more compact: