Default values for handler parameters

Geoff Canyon gcanyon at gmail.com
Sun Dec 8 13:45:40 EST 2013


Way way back when, I hacked the script editor to support language-modifying
features, and this was the first thing I did. When the new open language
feature hits, this is first on my task list again.


On Sat, Dec 7, 2013 at 8:42 PM, Mark Wieder <mwieder at ahsoftware.net> wrote:

> Pete-
>
> Saturday, December 7, 2013, 6:33:43 PM, you wrote:
>
> > Not a big deal but would save having to initialize optional parms with
> "if
> > p1 is empty then put true into p1" stuff.
>
> Exactly. Especially if there are multiple optional parameters.
>
> --
> -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