I need to save a bunch of expressions and together with a string describing each expression and print them out later. They print fine if I print them directly like this:
Print["riemann[[",ii,",",jj,",",kk,",",ll,"]]=",riemann[[ii,jj,kk,ll]]]
Of course, this is in a loop and the ii, jj, etc are set to specific values and riemann[[ii,jj,kk,ll]] evaluates to an expression and the expression gets printed. I have tried about a million ways to save the strings and the expressions and print them later but nothing works. For instance, this:
riemannA = {};
Append[riemannA,"riemann[[" <> ToString[ii] <> "," <> ToString[jj] <> "," <>ToString[kk] <> "," <> ToString[ll] <> "]]=" <>ToString[ riemann[[ii, jj, kk, ll]] ] ];
I would appreciate any suggestions how to go about this.