matchText question

Richard Gaskin ambassador at fourthworld.com
Wed Feb 25 22:14:58 EST 2015


Mark Wieder wrote:

> Mike-
>
> Wednesday, February 25, 2015, 11:45:21 AM, you wrote:
>
>> Am I doing something really crazy here?
>
> Depends maybe on what you're trying to do. If you're looking for a
> list of handlers in a script, here's what I use:
>
> function getHandlersList pScript
>   local tHandlers
>   filter pScript with "end*"
>   repeat for each line tLine in pScript
>     put word 2 of tLine & cr after tHandlers
>   end repeat
>   return tHandlers
> end getHandlersList

One more way:

get the revAvailableHandlers of tSomeObject

-- 
  Richard Gaskin
  Fourth World Systems
  Software Design and Development for Desktop, Mobile, and Web
  ____________________________________________________________
  Ambassador at FourthWorld.com        http://www.FourthWorld.com




More information about the use-livecode mailing list