Download THE MELD PROGRAMMING LANGUAGE USER MANUAL

Transcript
MELD PROGRAMMING LANGUAGE
20
2.4.1. System Variables
System variables are distinguished by a dollar sign as the first character in their names. These
variables are generally read only, unless specified otherwise, and include:
$SELF
Refers to the object that is executing the current statement.
$SENDER
Refers to the object that sent the current message.
$SELECTOR
The entire string message that invoked this method. For symbolic selectors
$SELECTOR holds the selector name as a string. When used with the *
selector you may inspect $SELECTOR to see what the message received
was.