On Aug 17, 2004, at 12:13 PM, Hershel Fisch wrote:

How do I send a message with a param ?
e.g.  send "myHandler" param1 to stack "abc"

send "myHandler param1" to stack "abc"
Sorry, woun,t do it.

I just did it.

I put this handler in the stack script of stack "B"

on myHandler x
  put "[" & x & "]"
end myHandler

I put this handler in a button on card 1 of stack "A"

on mouseUp
  put "abc" into param1
  send "myHandler param1" to stack "B"
end mouseUp

I clicked the button.

Into the message box:
[abc]

It looks to me that this works. Maybe I didn't understand what you need.

Dar

****************************************
    Dar Scott Consulting
    http://www.swcp.com/dsc/
    Programming Services
****************************************

_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to