Should "dispatch" be extended for timers?

Peter Haworth pete at lcsql.com
Fri Aug 29 12:21:28 EDT 2014


Thank you Thierry!

Pete
lcSQL Software <http://www.lcsql.com>
Home of lcStackBrowser <http://www.lcsql.com/lcstackbrowser.html> and
SQLiteAdmin <http://www.lcsql.com/sqliteadmin.html>


On Fri, Aug 29, 2014 at 8:57 AM, Thierry Douez <th.douez at gmail.com> wrote:

> >
> > One other question regarding send.  You can "dispatch function" - is
> there
> > a way to send a message to a function and get hold of the result
> (obviously
> > without a time specified)?
> >
> > Pete
>
>
> A small trick:
>
>    send "want_the_return_value" to me
>    put  the result
>
> on want_the_return_value
>    return 42
> end want_the_return_value
>
> HTH,
>
> Thierry
>
> ------------------------------------------------
> Thierry Douez - http://sunny-tdz.com
> Maker of sunnYperl - sunnYmidi - sunnYmage
>
> _______________________________________________
> 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