but the sencond index I can not deside in advance
What eventually decides the needed index? Is it another list, text file or DB?
You can measure the length of your list, file or DB at runtime:
int j = list.length() ; or file or record...
dimension[ i ][ j ][ k ]
Can you give an example?
[ September 15, 2003: Message edited by: Donald R. Cossitt ]