you might want to build your table like so instead:
[1 "a" "ttt" 2 "b" "ggg" 3 "c" "geger"] this way you can use the /skip refinement of some funcs like find and select. using a skip, you can then also select on which column of a fixed-size recordset you want to find. if your records are of various length, then encode your indexes like the above, and add one extra value, as a block, and then add optional values there. -MAx On 9/4/07, Kai Peters <[EMAIL PROTECTED]> wrote: > > I am= struggling with this problem: Given the "table" table: [ >   [3 "Tim" "Peterson" 2 ]=   [ 1 "John" "Smith" 3= ] >   [ 2 "Jeff" "Brown"  1 ]= ] How can I search for the > recordwhose= first value is 1 (=3D John Smith) and return its index in the > table ( =3D 2= in this case) ? The search criterion is only unique in= > the > fist value of each "record". As always, thanks for any= help! Kai > -- > To unsubscribe from the list, just send an email to > lists at rebol.com with unsubscribe as the subject. > > -- To unsubscribe from the list, just send an email to lists at rebol.com with unsubscribe as the subject.
