I want to have a program write a string with numbers in it, but I don't know how to add the value of a variable instead of the name of the variable.
For example, I want the value of A to be stored to str1, not the letter A.
The only way I know is like this:
:If A=1 :1→str1 :If A=2 :2→str1
and so on. This works but is very tedious and time consuming, and wastes memory. Is there any other way?