Hi Andrew, I was messing with something similar the other day and came up with this function 'element which extracts the n-th element of a block like you're using. Here's an example: >> print mold block3 [A "first" B "second" C "third"] >> block3/a == "first" >> block3/b == "second" >> element block3 1 == "first" >> element block3 3 == "third" so, what is this 'element function? >> source element element: func [b i][x: 2 * i b/:x] Russ ------- At 11:25 PM 11/14/99 -0800, you wrote: >I've been fiddling around with blocks and the methods of accessing >them. I wanted to access a block with a number (1, 2, 3...) and with a >word (A, B, C...). I found that this solution worked: > >block: [ > thing1 thing2 thing3 thing4 > A thing1 B thing2 C thing3 D thing4 > ] > >block/2 >block/B > >Andrew Martin >[EMAIL PROTECTED] >http://members.xoom.com/AndrewMartin/ >Online @ 33,600 Baud! >-><- > > >
