Get a handler from a script

J. Landman Gay jacque at hyperactivesw.com
Mon Mar 20 16:31:10 EST 2006


Mark Wieder wrote:
> 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
> 

This sounded really cool, but I can't get it to work. :(

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com



More information about the use-livecode mailing list