Default values for handler parameters

Scott Rossi scott at
Sun Dec 8 13:51:44 EST 2013


How is what you wrote not accomplished by the following?

command myCommand p1
    local p2="abc"

    -- more stuff
end myCommand

Maybe I'm missing what you're proposing, but I'm not seeing an immediate
use for it.  Thanks for explaining.


Scott Rossi
Creative Director
Tactile Media, UX/UI Design

On 12/7/13 4:43 PM, "Peter Haworth" <pete at> wrote:

>Live code allows:
>local tVar="abc"
>but it doesn't seem to allow:
>command myCommand p1,p2="abc"
>.. unless there's some other syntax for it.
>Seems like an omission?
>lcSQL Software <>
>use-livecode mailing list
>use-livecode at
>Please visit this url to subscribe, unsubscribe and manage your
>subscription preferences:

More information about the use-livecode mailing list