Callmet

This instruction invokes a method on an instance (similar to Call). It is used to invoke methods that do not return any value. For methods that return a value, use the fmeth operator.

Syntax

Callmet INST.METHOD_NAMECallmet INST.METHOD_NAME(parameter_list)

Example

# Example of SETERROR method call in a control eventIf this.AMOUNT=0Callmet this.SETERROR("AMOUNT","Amount cannot be zero",20,ASTATUS)Elsif this.AMOUNT<0Callmet this.SETERROR("AMOUNT","Amount must be positive",21,ASTATUS)Endif

See also

Fmet, Fmethod, Method