Default values for handler parameters

dunbarx at dunbarx at
Sat Dec 7 20:47:22 EST 2013


Not with LC at the moment, but does this throw an error in that the parameter construction is invalid, or does it evaluate "p2=abc" as a boolean, resolving to "true" or "false"?


-----Original Message-----
From: Peter Haworth <pete at>
To: How to use LiveCode <use-livecode at>
Sent: Sat, Dec 7, 2013 7:44 pm
Subject: Default values for handler parameters

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 


More information about the Use-livecode mailing list