[REBOL] Index? Re:(3)
From: agem:crosswinds at: 28-Aug-2000 0:34
--- [rryost--home--com] wrote on 26-Aug-2000/15:15:31-7:00
> Hi Volker
> This may be a partial dupe of one I sent earlier.
> Why do you insert the "item: first a", but then not use it?
Paul needed the index and the item without all that 'first everytime.
this is a big bit ugly, but gives you both values:
> > a: "101"
> > forall a [item: first a
> > print index? a]
its a sample, so i found no use for the 'item..
not as elegant as Gabrieles solution :)