In the following example, there is no compatible match for the call to messageEnd using the arguments supplied. There is a method with the correct name and same number of parameters; however, the second parameter is not a compatible match. Either change the second argument to be compatible with a decimal type, or change the messageEnd method to accept a type compatible with a string as its second parameter.
class-id myClass. method-id main. invoke self::messageEnd(4 "Installation Complete") end method. method-id messageEnd (s as decimal t as decimal). ... end method. end class.
This error is produced in a context in which either a static or an instance method would be allowed.