Skip to main content

Compiler Error C0582

Message: There is another method with the name '{0}'. Use the Attribute {attribute 'overloaded'} if you want to define overloaded methods.

Possible error cause: A function block has multiple methods with the same name. However, the methods have not been marked with the attribute pragma {attribute 'overloaded'}.

Note on error avoidance: Depending on the version, you should either annotate the methods with the attribute pragma {attribute 'overloaded'} or explicitly declare them with the keyword OVERLOAD.