>
> string[int[2]] board;
>
> board[[0,0]] = "Rook";
> board[[0,1]] = "Knight";
>
> foreach( pos, val; board) {
> writefln( "%s: %s", pos, val);
> }
>
>
> Output:
>
> 2 9903680: Knight
> 2 9903696: Rook
> Changing the declaration to string[int[]] board; makes it work (for me). BR /HF
