|   | 
 Example Date send 013
 | 
  This example defines a method named monthName that is invoked when the Number  
                 type receives a getMonth   message.  The monthName method prints out 
                 the current full month name string.  
  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  getMonth:  #Jan,1,1996 )          is translated into  ((ref (methodsOf (type  #Jan,1,1996 ) ) getMonth: )  #Jan,1,1996 )   Each statement segment results in: 
 Returns:  
 Returns:  
 Returns:  
             
  (type  #Jan,1,1996 )                    
                  Returns:  Date     (methodsOf (Date:))     
                  Returns:  #<Dictionary 123456>    (ref (#<Dictionary 123456>) getMonth: )     
                  Returns:  #<Lambda 123456>    ( #<Lambda 123456>  #Jan,1,1996)        
                  January 
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(#void) | defmethod(#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. 
  
 
Symbol 
Dictionary 
|   | Analytic Information Server (AIS)AIS Component Systems 
 |