|
Example Vector send 006
|
Notes and Hints Dissecting the send command involves understanding the methods dictionary
of any Analytic Information Server type. In general the send command is translated
as a reference into the methods dictionary: ((ref (methodsOf (type object)) methodName object)) The statement : (send addValues: monthlyBills) is translated into ((ref (methodsOf (type monthlyBills)) addValues: ) monthlyBills) Each statement segment results in:
Returns:
Returns:
Returns:
Returns:
(type monthlyBills)
Returns: Vector (methodsOf (Vector:))
Returns: #<Dictionary 123456> (ref (#<Dictionary 123456>) addValues: )
Returns: #<Lambda 123456> ( #<Lambda 123456> monthlyBills)
Returns: 3200
Here are examples of the send 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.
addMethod(Vector) | defMethod(Vector) | methodsOf(Vector) |
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.
Vector
Dictionary
|
How do I contact the AIS Server team?You can always talk with the AIS at aiserver.sourceforge.net. |