matchText question

Mark Wieder mwieder at
Thu Feb 26 03:39:32 CET 2015


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

-Mark Wieder
 ahsoftware at

This communication may be unlawfully collected and stored by the National 
Security Agency (NSA) in secret. The parties to this email do not 
consent to the retrieving or storing of this communication and any 
related metadata, as well as printing, copying, re-transmitting, 
disseminating, or otherwise using it. If you believe you have received 
this communication in error, please delete it immediately.

More information about the use-livecode mailing list