|
Example Structure addMethod 004
|
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 dictionary entry by #<Dictionary 123456>[methodName:] or To determine the number of assigned methods: (length (methodsOf Structure: )) (length (methodsOf StockTransaction:) ) To access the nth method name: (methodsOf Structure: )[n 0] (methodsOf StockTransaction: )[n 0] To view the Methods Dictionary: (display (methodsOf Structure: )) (display (methodsOf StockTransaction:))
Returns:
Returns:
Returns:
Returns:
Returns:
Returns #{dic| addValues #<Lambda 5315>}
Returns #{dic| ComputeProfit #<Lambda 5497>}
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(Structure) | send(Structure) | methodsOf(Structure) |
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.
Structure
Dictionary
Symbol
|
How do I contact the AIS Server team?You can always talk with the AIS at aiserver.sourceforge.net. |