if then

Encasing of control structures

When using control structures to create some case filtering, there are some things to consider when formatting this. In general, a control structure can be as simple as this: if $msg contains “word” then action() else action() While this is correct and will work as expected, it is generally better style to encase expressions and […]

Scroll to top