Creating variable name with variables

okibi okibi at ratedo.com
Mon Apr 23 09:52:31 PDT 2007


Hello,

I was wondering if it is possible to create a variable name with other variables. For example:

char[] left = "num1";
char[] right = "num2";

char[] num1num2 = "doesn't matter what this equals";

How would I create the variable with the values of the first two variables?

Thanks!


More information about the Digitalmars-d-learn mailing list