Function
Define a named piece of behavior you can call later.
function pattern:
execute:
...
A section starts with a line that ends in :. The lines below it, indented one level
deeper, belong to that section.
These pages explain the main section forms you will write in everyday DynLex code.
Define a named piece of behavior you can call later.
function pattern:
execute:
...
Repeat a section while a condition stays true.
while condition:
...
Run a section only when a condition is true.
if condition:
...
Choose one branch by comparing a value against several cases.
match based on value:
...
Define one branch inside a match or switch section.
case value:
...