The definition of a new method of an MDL class starts with the name of the method followed by a list of MDL expressions enclosed in braces.
methodname {
expression_list
}
There are two reserved names for methods which are used for the construction and destruction of MDL class instances by the MDL interpreter:
By convention the main algorithm of the MDL class should be coded into the evaluate method. Optional initializations which require interface parameters to be forwarded to or returned by the MDL class instance are subject to the initialize method.
An MDL method with the name methodname is execute by stating the following MDL expression within any method definition belonging to that class:
call methodname ;