"Command" as control structure?

Mike Bonner bonnmike at gmail.com
Sun Sep 25 16:49:04 EDT 2016


I don't think there is a difference, though I use command for my handlers
and on for rev built ins (on mouseup, on keydown etc). Just another way to
aid my recognition of things in my scripts.

On Sun, Sep 25, 2016 at 2:20 PM, Peter Bogdanoff <bogdanoff at me.com> wrote:

> I see that “command” is a synonym of “on” in LC script.
>
> Is using “command” rather than “on” a purely style preference?
>
> I see in the old LiveCode dictionary:
>         The command synonym, along with the ability to declare private
> handlers was added in LiveCode 2.8.1
>
> Why? Is this something to do with the message path?
>
> Peter Bogdanoff
> _______________________________________________
> 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