Tip a method must have a return value
A method is invoked by the Fmet keyword, and this call returns a value. Every method call generated by the supervisor assigns an integer value with the result of fmet
.
It is important to end the execution of the method by returning a value. Otherwise, an error will appear at the execution of the End
.
When no error appears, the return value must be [V]CST_AOK. Any other value will trigger an error.