I have a table that looks like this:
{
Merge1_Output = {
Source = "Output",
SourceOp = "Merge1"
},
Merge2_Output = {
Source = "Output",
SourceOp = "Merge2"
},
}
and I need to get the info from “Source” and “SourceOp”. I can’t predict what the names(“Merge1_Output”) in this table will be either. But they will always have the same variables inside them(“Source” & “SourceOp”)
I have tried a simple for _, v in ipairs(table) do print(v.Source) end
. But it doesn’t give any responce in the console.
New contributor
Asher Roland is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.