Can a Handler Differentiate Between Empty & Missing Parameters?
Jim Ault
JimAultWins at yahoo.com
Thu Mar 9 16:10:06 EST 2006
You could just go with a param list
the params
--------------------
on gotHere aa,bb,cc
answer aa && BB && CC
answer the params
if the number of items in the params < 2 then
doThis
end if
end gotHere
gotHere "His","tie","was",1,2,3,4,"very", "loud"
------------------------------
Jim Ault
Las Vegas
On 3/9/06 12:20 PM, "Ken Ray" <kray at sonsothunder.com> wrote:
> On 3/9/06 2:05 PM, "Rob Cozens" <rcozens at pon.net> wrote:
>> Given a handler such as:
>>
>> on myHandler requiredParam, at optionalParam
>>
>> can myHandler differentiate between
>>
>> put empty into optionalParam
>> myHandler requiredParam,optionalParam
>>
>> and
>>
>> myHandler requiredParam,
>>
>
More information about the use-livecode
mailing list