Example Void methodsOf 011
|
This example defines a method named AddError that is invoked when
the Void type receives an Add message. The AddError method simply
displays an error message. The logic behind the error message is that the Void
type, or the #void constant cannot be used as an operand in a binary add. The
methodsOf function is used to query the Void Methods Dictionary for the
added method AddError.
Returns:
Returns:
Returns:
Returns:
Returns:
Here are examples of the methodsOf 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) | addMethod(#void) | makeDictionary(#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.
Symbol
Void
Analytic Information Server (AIS)AIS Component Systems
|