Yes, I have been informed 'bad idea', and I'd be happy to use another solution if what had been said actually seemed to do what I want it to.
Wanting to create a bunch of variables for genome analysis, but it seems dumb to do it multiple times. I want to do something like this:
aa = expr
ac = expr
ag = expr
at = expr
ca = expr
.
.
.
tt = expr
Where each expression is similar in nature but uses their respective letters (i.e cg is using c and g) as variables. I'm needing these to do further analysis as variables in more equations and to print them as well.
From a project I've just done in C, I'd set it up as two loops, one nested inside the other, linking to an array holding (a c g t) and use pointers... or something like that.
If someone could lead me down the right path, that'd be great. Everyone has been shouting "dictionaries!", but I'm not sure that's applicable here. If it is, I'm not really understanding how to use them properly.