This one goes back to when I learnt BASIC on an Amstrad CPC 6128 at the age of 12.

I wanted to write a program that did somthing like what you wanted to do. I wanted the user to input a string and the the program to be able to show what was in the variable with the same name as that string.

i.e

let a=12

<<USER INPUTS "A">

Program send back 12.

I just guess basic was never ment to analyse it's self, it wouldn't be basic.