Get a handler from a script

David Burgun dburgun at dsl.pipex.com
Mon Mar 20 06:57:46 EST 2006


Hi,

I think the original poster wanted to copy a function/handler from  
one Script to another. I was taking the more general case of wanting  
to know if a function/handler is defined in a script so it can be  
called and not cause an error if it is not defined.

All the Best
Dave

On 20 Mar 2006, at 02:38, Mark Smith wrote:

> Are we trying to establish the existence of a handler or to get the  
> text of a handler? And are we including handlers that are commented  
> out?
>
> Mark
>
> On 20 Mar 2006, at 02:01, Dick Kriesel wrote:
>
>> On 3/19/06 5:12 PM, "Geoff Canyon" <gcanyon at inspiredlogic.com> wrote:
>>
>>> I feel like the harbinger of doom here (with Alex as my able partner
>>> in doomsaying) but:
>>>
>>> This would still be subject to failure if, anywhere in the  
>>> script, /*
>>> or */ appeared _not_ as block comment delimiters, but as part of a
>>> string.
>>
>> www.usingenglish.com/reference/idioms/fools+rush+in+where+angels 
>> +fear+to+tre
>> ad.html
>>
>> Imagine we first remove comments that start with "--" and then  
>> start looking
>> for block comments.  If a "/*" follows an even number of quotes,  
>> it starts a
>> block comment.  If it follows an odd number of quotes, it's  
>> embedded in a
>> string.  After a "/*" starts a block comment, then the next "*/"  
>> ends the
>> comment.  Right?
>>
>> Or do the angels see even more of the devil in the details?
>>
>> -- Dick
>>
>>
>> _______________________________________________
>> use-revolution mailing list
>> use-revolution at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your  
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-revolution
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the use-livecode mailing list