Message.st
changeset 20183 65d17c828c3a
parent 19888 1e9b0fd58bc9
child 20205 03e626304d06
child 21530 655a47664154
equal deleted inserted replaced
20182:f8625bd2a98c 20183:65d17c828c3a
       
     1 "{ Encoding: utf8 }"
       
     2 
     1 "
     3 "
     2  COPYRIGHT (c) 1988 by Claus Gittinger
     4  COPYRIGHT (c) 1988 by Claus Gittinger
     3 	      All Rights Reserved
     5 	      All Rights Reserved
     4 
     6 
     5  This software is furnished under a license and may be used
     7  This software is furnished under a license and may be used
   274 
   276 
   275 sendTo:aReceiver
   277 sendTo:aReceiver
   276     "send the selector with argument(s) to aReceiver"
   278     "send the selector with argument(s) to aReceiver"
   277 
   279 
   278     ^ aReceiver perform:selector withArguments:args
   280     ^ aReceiver perform:selector withArguments:args
       
   281 !
       
   282 
       
   283 sendTo:aReceiver usingClass:aClass
       
   284     "send the selector with argument(s) to aReceiver using the method named by selector from aClass"
       
   285 
       
   286     ^ (aClass compiledMethodAt:selector) valueWithReceiver:aReceiver arguments:args selector:selector
       
   287 !
       
   288 
       
   289 sendTo:aReceiver usingMethod:aMethod
       
   290     "send the selector with argument(s) to aReceiver using compiledMethod aMethod"
       
   291 
       
   292     ^ aMethod valueWithReceiver:aReceiver arguments:args selector:selector
   279 ! !
   293 ! !
   280 
   294 
   281 !Message class methodsFor:'documentation'!
   295 !Message class methodsFor:'documentation'!
   282 
   296 
   283 version
   297 version