No, I think what he/she is trying to do is to make one variable refer to another by name. He has a string variable called VS1, and he has another string holding the text "VS1", and he wants to pass this second string variable to a function that will then identify the first variable by its name ("VS1"

and return the contents of the first string variable.
Do let me know, modnm, if I've misunderstood you. I'm guessing this on the basis that others have asked similar questions.
I think this would be asking a bit much of a compiler because normally, at compile time, it will translate all the names of variables into appropriate addressing, and the names themselves then lose all significance, and need not even feature in the final exe file (though for all I know they might do. I've never gone looking. They probably do in files compiled as suitable for debugging). So for instance a global variable called "bloggs" is probably just an offset of, say, 268, in the data segment, so far as the compiled file is concerned. It no longer has the name "bloggs" associated with it at run time.
It is not in the nature of a compiled language to refer to variables by name in strings, though it is very much in the nature of an interpreted script language.
But I'm sure there are plenty of pointer-based ways to achieve the right effect in different ways. After all, the compiler itself is just a program that can quite happily identify variables by their names!