|
Example Function addMethod 017
|
This example defines a method named evalFun that is invoked when the Function
type receives a eval message. The evalFun method takes function with a single parameter,
coerces the parameter to an integer and returns the result after evaluating the function.
Returns:
Returns:
Returns:
Returns:
Here are examples of the addMethod function at work.
Here is the link to the current function used in this example.
Here are a number of links to other related functions.
defmethod(Function) | send(Function) | methodsOf(Function) |
Here are the links to the data types of the arguments used in this example. Here are a number of links to examples having similar argument types.
Function
Symbol
Dictionary
|
How do I contact the AIS Server team?You can always talk with the AIS at aiserver.sourceforge.net. |