Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

using find/only to match blocks

 [1/2] 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"

 [2/2] from: lmecir:geocities at: 30-Aug-2000 9:14


Hi, find/only C [2 3 4] should work
> 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: