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 thief. Once committed beyond a certain point he should not worry himself too much about not being a thief any more. Thieving is Gods message to him. Let him try and be a good thief.”
—Samuel Butler (18351902)
“To the American People:MChristmas is not a time or a season but a state of mind. To cherish peace and good will, to be plenteous in mercy, is to have the real spirit of Christmas. If we think on these things, there will be born in us a Savior and over us will shine a star sending its gleam of hope to the world.”
—Calvin Coolidge (18721933)