Message Sending
Message expressions in F-Script are similar to those in Smalltalk: they specify which object is the receiver of the message, which operation is called by the message, and any argument objects needed by the operation. F-Script supports unary, binary, and keyword messages. F-Script message semantics are extended to support Array Programming by recognizing that an array operation, such as adding to numerical vectors, must be viewed as the generation of a number of messages relating the elements of the vectors involved. Thus, if A = {1, 2, 3} and B = {10, 20, 30}, then in F-Script you can have:
A + B = {11, 22, 33}Read more about this topic: F-Script (programming Language)
Famous quotes containing the words message and/or sending:
“The message of womens liberation is that women can love each other and ourselves against our degrading education.”
—Jane Rule (b. 1931)
“The world is a puzzling place today. All these banks sending us credit cards, with our names on them. Well, we didnt order any credit cards! We dont spend what we dont have. So we just cut them in half and throw them out, just as soon as we open them in the mail. Imagine a bank sending credit cards to two ladies over a hundred years old! What are those folks thinking?”
—Sarah Louise Delany (b. 1889)