> Hello,
> 
> I've just about solved my HTML parsing question from yesterday.  (The code
> segment I provided yesterday provided a simplistic example.) For some reason
> I don't quite understand, the information I needed on parsing is found in
> the "Addendum" to the Users Guide.
> 
> I now want to specify multiple expressions in a rule. As a an example from
> the Addendum documentation:
> 
> count: 0
> parse text [ any [ thru <pre> (count: count + 1) ] ]

What about:

parse text [ any [ thru <pre> (if (count: count + 1) = 2 [ print count ] ] ]      

> I want to add the statement that when count =2 print count only. How do I do
> this? Would it involve adding multiple expressions to the parsing rule, and
> if so, how?
> 
> Thanks,
> 
> Cheryl

Hope this helps.

Jan

P.S.: greetings to all members of this mailing list, I'm back after 4
      months...

Reply via email to