Example Number addMethod 014
|
This example defines a method named doubleThis that is invoked when the Number
type receives an double message. The doubleThis method doubles its
numeric argument.
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(#void) | send(#void) | methodsOf(#void) |
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.
Number
Symbol
Dictionary
Analytic Information Server (AIS)AIS Component Systems
|