Get a handler from a script

Mark Wieder mwieder at ahsoftware.net
Mon Mar 20 13:31:10 EST 2006


Geoff-

Sunday, March 19, 2006, 5:12:04 PM, you wrote:

> 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.

The best solution I've come up with for removing block comments is

put the script of SomeObject into tScript
put token 1 to -1 of tScript into tScript

-- 
-Mark Wieder
 mwieder at ahsoftware.net




More information about the use-livecode mailing list