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:
“Children in home-school conflict situations often receive a double message from their parents: The school is the hope for your future, listen, be good and learn and the school is your enemy. . . . Children who receive the school is the enemy message often go after the enemyact up, undermine the teacher, undermine the school program, or otherwise exercise their veto power.”
—James P. Comer (20th century)
“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)