Send and the context

Mike Bonner bonnmike at gmail.com
Thu Feb 6 14:53:52 EST 2014


use "of me" instead.  This refers to the current card of the default stack.
So if the handler is running on a card that isn't the front card, you'll
get the short name of the card that IS the front.

of me references the object that contains the script in question.


On Thu, Feb 6, 2014 at 12:09 PM, Mark Wieder <mwieder at ahsoftware.net> wrote:

> Scott Rossi <scott at ...> writes:
>
> > And you can pass arguments using send:
>
> and you can do the same with dispatch:
>
> > [ button script ]
> dispatch "answerIt" to this cd with "bob", "debbie", "judy"
>
>
> > [ card script ]
> > on answerIt arg1, arg2, arg3
> >    answer arg1 && arg2 && arg3
> > end answerIt
>
> --
>  Mark Wieder
>  ahsoftware at gmail.com
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



More information about the use-livecode mailing list