[REBOL] using find/only to match blocks
From: princepawn::lycos::com at: 29-Aug-2000 9:29
Supposedly find/only treats a series as a single value, but I am not sure how this is
done. I was interested in find the place in a series at the place where a block is found:
>> C: [ 1 [ 2 3 4] 5 6 ]
>> find C "234" ; what I want to do
>> find C [ 2 3 4 ] ; or this ... whatever works
---
; run this in your
; <a href=http://www.rebol.com>REBOL</a> Interpreter!
terrence-brannon: [ [princepawn--yahoo--com] perl-refugee myth-gamer ]
perl-refugee: [ 'loved href perl discovery: (metaperl = rebol) 'hates href perl ]
myth-gamer:http://www.bungie.net/bin/stats.pl?player=princepawn
; angles makes this a href instead of code! use ur imagination!
href: func [U T] [ rejoin [ "a href=" U ">" T "/a" ] ]
perl: href http://www.perl.com "Perl"