Default values for handler parameters
dunbarx at aol.com
dunbarx at aol.com
Sat Dec 7 20:47:22 EST 2013
Peter.
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"?
Craig
-----Original Message-----
From: Peter Haworth <pete at lcsql.com>
To: How to use LiveCode <use-livecode at lists.runrev.com>
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?
Pete
lcSQL Software <http://www.lcsql.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