Brad wrote:
> It seems that the 'parse' function in Rebol is quite advance, the 
> documentation--at least in the dictionary, suggests great things.  This 
> example they give is awesome--also pretty much unexplained:
> 
> ;page: read http://www.rebol.com
> ;parse page [thru <title> copy title to </title>]
> ;print title
> 
> I searched for 'thru' and 'to' which are not in the dictionary.  The 
> documentation is the biggest handicap to this language's success.  The 
> funny thing is that title is actually a variable after running this.

Check the Core Users Guide 2.2.0 chapter on parse at: 
http://www.rebol.com/users/parintro.html

The section 'skipping input' describes 'thru and 'to.

Essentially, the second line in your example has the parser do this:
Skip through :page until it's read past <title>, then start 'copying 
into variable 'title until it reaches </title>.

Best regards,
Kev

------------------------------------------------------------------------
Kevin McKinnon, Network Engineer                 [EMAIL PROTECTED]
Sunshine Communications                     http://www.sunshinecable.com

PGP Public Key: http://www.dockmaster.net/pgp.html   PGP 6.0 www.pgp.com

If the box says Windows 95 or better, it should run under Linux, right??

Reply via email to