Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

4
  • 1
    What are you actually trying to do? While this is probably possible, it will be ugly, hard to do, hell to debug. What is the problem that using this sort of abstract naming is attempting to solve? Maybe you should be asking about that instead. Commented Mar 8, 2017 at 11:58
  • 1
    @terdon I want to use that to use multiple arrays as one 2D array. Commented Mar 8, 2017 at 11:59
  • 2
    @Eenoku Rethink your choice of language for this. Commented Mar 8, 2017 at 12:01
  • To copy the array just use tmp="arr$x[@]", the rest will work as is. Commented Mar 9, 2017 at 1:49