Can a Handler Differentiate Between Empty & Missing Parameters?
rcozens at pon.net
Thu Mar 9 17:02:59 EST 2006
> If you provide *no* second param:
> myHandler requiredParam
> Then you get an error trying to *execute* the command because
> pass-by-reference parameters can't be optional.
That's the issue that will probably make it necessary to change my
Originally, I figured I could just try writing to optionalParam and
trap for an error; ut it sounds like the engine won't let me get that
I'm glad I asked before scripting what I had in mind.
CCW, Serendipity Software Company
"And I, which was two fooles, do so grow three;
Who are a little wise, the best fooles bee."
from "The Triple Foole" by John Donne (1572-1631)
More information about the Use-livecode