check if handler exist before using it

Thierry 00bioarchimed at free.fr
Sat Nov 10 05:05:17 EST 2007


Hi again,

Yep ! exactly my problem ....

Thierry

> Jim-
>
>> on try
>>  doThisFunction()
>> catch errString
>>  --function not available, take action
>> end try
>
> I use this quite often, but notice that it has the drawback of  
> actually
> performing doThisFunction(), which may not be what you have in mind  
> if you
> just want to see if it's present.
>
>  Mark Wieder



More information about the use-livecode mailing list