Functions are unit of code that perform a certain task. They are pre-compiled within the script engine ready for use.
There are two types of functions;
A function is called a Procedure when it does not return a result. However throughout this guide we use the term function when referring to either a Function or Procedure
You use a Function/Procedure within your script simply by entering its name and providing the appropriate parameters.
When calling functions or procedures that have multiple See "Parameters" you pass them separated using a comma. It is only within the declaration, as shown in the above examples, that parameters are separated with a semi-colon. The below examples show you how to call a function or procedure.