List of handlers

Phil Davis revdev at pdslabs.net
Fri Sep 9 22:57:51 CDT 2011


On 9/9/11 7:14 PM, Peter M. Brigham, MD wrote:
> On Sep 9, 2011, at 8:33 PM, I wrote:
>
>> The filter with "end*" will pick up "end if" and "end repeat" and "end try" as well.
>> -- first:
>> replace "end if" with empty in tList
>> replace "end repeat" with empty in tList
>> replace "end try" with empty in tList
>> -- then
>> filter tList with "end*"
>> replace cr&  "end " with cr in tList
> I forgot: you have to append a cr to the beginning of tList first:

I forgot about that one in my original post also.
Phil
>
> filter tList with "end*"
> replace cr&  "end " with cr in (cr&tList)
> -- will catch first line
> delete char 1 of tList -- it's a cr
>
> -- Peter
>
> Peter M. Brigham
> pmbrig at gmail.com
> http://home.comcast.net/~pmbrig
>
>
> _______________________________________________
> 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
>

-- 
Phil Davis

PDS Labs
Professional Software Development
http://pdslabs.net




More information about the use-livecode mailing list