Could you explain what you're actually trying to do, instead of the syntax you made up for it? There's quite probably a way to do what you want, but I can only guess what you're actually after.
If you want to get the value of a variable given its name, you can use the ${!VAR} syntax in bash and ksh: