If you decide after reading all the reasons not to do this, that you still want to know how to do it, I explain the ‘right’ way to do it here: How to use string substitution in variable names - #11 by Mason
Mason
3
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Creating multiple variables with consecutive names using a for loop | 8 | 4058 | February 4, 2020 | |
| Usage of loops for defining new variables | 6 | 9642 | August 26, 2018 | |
| How to change the name of a variable in a for loop | 2 | 4172 | September 7, 2019 | |
| Create variables in a loop | 10 | 1032 | November 3, 2020 | |
| Question about loop? | 6 | 454 | June 4, 2022 |