Read Me - Common Public License V1.0 - Copyright Notice(©)

result


>>-result------------------------------------------------------><

Returns the result of the message [send] or [start]. If message processing is not yet complete, this method waits until it completes. If the message [send] or [start] raises an error condition, this method also raises an error condition.

Message class - result method

/* Example using result method */
string="700"                 /* Create a new string object, string   */
bond=string~start("reverse") /* Create a message object, bond, and   */
                             /* start it.  This sends a REVERSE      */
                             /* message to string, giving bond       */
                             /* the result.                          */

/* Ask bond for the result of the message */
say "The result of message was" bond~result     /* Result is 007     */

Read Me - Common Public License V1.0 - Copyright Notice(©)