matchText handler not found

Harvey Toyama harvey.toyama at qlogic.com
Tue Oct 11 18:50:22 EDT 2005


Hi Sara and Alex,
Thanks for the help. I did, in fact, have the sense of it wrong. My next
line was:

put the result ...

Your help is appreciated,
-- Harvey
-- 
 

-----Original Message-----
From: use-revolution-bounces at lists.runrev.com
[mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Alex
Tweedly
Sent: Tuesday, October 11, 2005 3:38 PM
To: How to use Revolution
Subject: Re: matchText handler not found

Harvey Toyama wrote:

>Hi,
>
>After yesterday's good advice on regex, I wanted to try "matchText". My
>installation (2.5.1) doesn't find the  handler. Is there something
>special about the matchText function. In fact, I don't recall any of
the
>documented functions being found.
>  
>
matchText is not a handler, it's a function.
If you use it in a context where a handler would be used, you'll get the

rather confusing message
"handler not found".

It should be used like:

  put matchText(someData, someExpr) into myVar

not simply as

   matchText(someData, someExpr)




-- 
Alex Tweedly       http://www.tweedly.net



-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.11.14/128 - Release Date:
10/10/2005

_______________________________________________
use-revolution mailing list
use-revolution at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the use-livecode mailing list