I want to assign the values of one variable to another variable.
Here the varaible name 'var' is dynamic. I know the values of V_2 and U_3, but
If the i/p of TYPE is 'U' and the NO is 3, then I want to assign the values of
U_3 to var.
The statement in red will give you the old value of $var this is because var has not been reassigned (with var=${TYPE}_${NO} ) since TYPE and NO have changed to V 2...