If I have a block of items with an unknown order, what's the easiest way to find the position of an item in the block? Something like this pseudo code: >> my-block: [item-c item-b item-d item-a] == [item-c item-b item-d item-a] >> find/position my-block item-d == 3 Using find I get: >> find my-block [item-d] == [item-d item-a] The closest I've come to what I want is: >> (length? my-block) - (length? find my-block [item-d]) + 1 == 3 The point is that I'll want to know what order the items are in, because in the script I'm planning I have to know whether each item (item-a through item-d here) is first, second, third or fourth to vary some calculations for each. Elliott
