Initializes the state of a newly created class using the parameters passed to it.
Constructor [ parameter_list ] [ statements ] End [ Constructor ]
- Completes the statement. You can also use End Constructor.
- You can change the syntax of this part. See @Option Directive for more information.
Multiple constructors are permitted within a class if each constructor has a different parameter signature.
All constructors must be grouped together following any state declarations and before any Destructor, Function, Method, or Sub.
The state declaration section at the top of a class can act as a common constructor. Statements placed in this section are executed before any explicit constructor gets called.