Re: match() in depth!

new topic     » goto parent     » topic index » view thread      » older message » newer message

On 24 Feb 2002, at 22:52, rforno at tutopia.com wrote:

> 
> OK. But what is the strange thing about it? I don't understand.

The {bracketed} and "quoted" parts in the examples below. 

Kat

 
> ----- Original Message ----- 
> From: "Kat" <gertie at PELL.NET> 
> To: "EUforum" <EUforum at topica.com>
> Sent: Sunday, February 24, 2002 12:49 AM
> Subject: match() in depth!
> 
> 
> > I didn't know we could do this!
> > 
> > include strtok.e
> > with trace
> > sequence test
> > 
> > test = "this is a test of match()"
> > test = parse(test,32)
> > 
> > 
> > if match({"is"},test) then 
> >  puts(1,"found is\n") 
> > end if
> > 
> > if match({"s"},test) then 
> >  puts(1,"found s\n") 
> > end if
> > 
> > trace(1)
> > abort(0)
> > 
> > 
> 
> 
>

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu