{"identifier":29297,"topic":"Keywords","name":"send","text":"<code>send \"<i>messageName<\/i> <\/code>[<i><code>parameterList<\/i><\/code> ]<code>\"\u00ac      <\/code>[<code>to <i>object<\/i><\/code> ] <code>send \"<i>messageName<\/i> <\/code>[<i><code>parameterList<\/i><\/code> ]<code>\"\u00ac      to HyperCard<\/code>  <br><br>\n\n <code><pre>send <i>expression<\/i>  to { program<i> <\/i>\u00ac<i>\n   program <\/i>| program id <i>programID <\/i>| \u00ac\n   this program } [without reply]<\/pre><\/code> <code><pre>\n<\/pre><\/code>\nIn the first two forms, the<code> send <\/code>keyword sends a message directly to a particular object or to HyperCard. For example, you can send a message to an object already passed by  in the message-  passing order (from a stack back to the <br>\n<br>\ncurrent card), or you can bypass handlers later in the message-passing order that might otherwise handle the message. <br><br>\n\n You can send messages to any object in the current stack, and you can send messages to another stack (but not to objects within another stack). <br><br>\n\n <b>Important<\/b>: If you send a message to a card other than the current card, HyperCard doesn\u2019t go to the card or open it. <br>\n","related":{"26982":"on","27256":"pass","104294":"run","65969":"target","8578":"The message-passing order"},"examples":"send \"hideIt\" to field 3  \nsend \"addSums 3,45.67,344.00\" to stack \"Expense Account\"  \nsend \"mouseUp\" to button \"Click Me\"  \nsend \"doMenu\" && quote & \"print card\" & quote to HyperCard","demo":"on sendDemo\n   <b>send<\/b> \"mouseDown\" to bkgnd btn \"close\" -- to animate the close box\n   wait 20\n   <b>send<\/b> \"mouseUp\" to bkgnd btn \"close\" -- to put away this demo\n end sendDemo\n ","debug":{"9":["send \"messageName [p"],"10":["current card), or yo"]}}