Function
Define a named piece of behavior you can call later.
function pattern:
execute:
...
A section is a grouped block of code. Child lines are indented deeper and run as part of that block.
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:
...