A script consists of at least one public class with at least one public function. This one required function needs to be marked with the attribute [Start].
The following example shows a very simple script.
In this example the class "VerySimpleScript" with a function "MyFunction" was created. The function was marked with the attribute [Start].
A script may contain more than one function. There even can be several classes in a script. However, there may only be exactly one function marked with the [Start] attribute!