Example Void addMethod 010
|
This example uses the {proc} argument
to the addMethod function.
The {proc} argument is coded inline using a lambda statement.
Notes and Hints To view the entry in the methods Dictionary created by the addMethod function,
you can use the method name to access the directory entry by #<Dictionary 123456>[methodName:] or To determine the number of assigned methods: (length (methodsOf Vector: )) To access the nth method name: (methodsOf Vector: )[n 0]
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.
Void
Symbol
Dictionary
Analytic Information Server (AIS)AIS Component Systems
|