For example I loaded a module, and there is a table in this module with name “Table1”. In the main file I have a table which I want to be the exact same copy of “Table1”.
So how can I do it, if I have only a name of that table.
When I am trying to do it like this
str = "Table1"
t = str
I obviously get a string instead of table, so how can I get a table content that table content? What I want is to able somehow make this line of code
t = 'Table1'
be equvalent to this one
t = Table1
If
stris the name of a global variable, use_G[str]to get its value.