contact.method

Syntax

v = contact.method(c,s<,ar_args>)

Execute a contact model method. The second argument s must be a string identifying a method that exists in the contact model assigned to the contact c. The third argument is a two-dimensional array of {string,value} pairs with the input of the specific method that is executed, as defined by the contact model. The third argument may be optional, depending on the specifics of the method being executed.

Returns:

v - void return

Arguments:

c - contact pointer

s - contact method name

ar_args - arguments required by the specific method (if any)