I agree that using a Dict is better in most cases. However, by defining a macro it is certainly not impossible to create variables in local scope only. I posted one possible solution in another thread. Or did I misunderstand what you meant?
NickNack
10
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| String as a variable name | 27 | 20987 | May 30, 2021 | |
| Evaluation of string with local variable | 5 | 947 | August 8, 2018 | |
| Evaluate a local variable by name | 4 | 202 | June 13, 2025 | |
| Macro to create variables from arrays of names and values | 14 | 3150 | January 15, 2021 | |
| Access Variable (or Variable Values) using String Variable Name | 3 | 860 | December 16, 2020 |