Makes a function. The comma-separated list of parameters goes after the function\\keyword, and the body of the function goes after the @then. Functions are very often used with @define, which allows you to name and re-use the function.
If the function you need is very simple and uses its parameter once, you may find the quest syntax useful.