I have a question and a friend tells me that this is not possible. Please prove him wrong and help me out in the process. OK first I am working on a strictly text based chess game. Say the variable PIECE is an array of 4 characters where the first three letters is the name of the object and the last letter is the subscript to be used. I know how to seperate the first three letters from the last but can I use the first 3 as the object name to be used? It's kind of hard to explain. Can I make a function that is passed a variable piece. Say piece = "p2p0" then the function would do this p2p[0].x = x; p2p[0].y = y;. Any help is greatly appreciated and I hope you can understand what I'm trying to say. You can message me on AOL instant messager, or email me at [email protected], or just reply back here. Thanks again.