Submitted by Mercutio on Fri, 2011-04-29 23:36

If a game has all approved characters carrying:

&attribute player=one-word-value

Where 'one-word-value' can only be one of:

word1, word2, word3, word4

And you wanted to create a census list that outputs:

word1: player, player2, and player3
word2: player6, and player 8
word3: player5, and player7
word4: player9

How would you go about this?

One option with the named registers now, would be to do:

[iter(word1 word2 word3 word4,%i0: [itemize(%q<%i0>)])]

What other ways can you think of?