I have a list of variables (say a, b, c, d, e) that I want to assign in a single command.
{a,b,c,d,e} = {1,2,3,4,5} would work, but it is cumbersome to type {a,b,c,d,e} each time. Is there a way I can create a table that holds references to these variables, and whenever I assign to this table, the actual variables a,b,c,d,e will get assigned?
Sorry for the question - I am new to Mathematica and do not even know the basic terms. If you guessed I have a C++ background, you are right.
list := {a, b, c, d, e}; Unevaluated[list = {1, 2, 3, 4, 5}] /. OwnValues[list]? $\endgroup$