Posted 26 February 2014 - 09:31 PM
I'm trying to wrap my head around openPeripherals but I'm having issues working out how to access the info shown in the table created when using "getTankInfo()" How can I see it?
for k,v in pairs(table) do
print("["..k.."] = "..v)
end
To acess the fields, just use table.keylocal key = "black"
term.setBackgroundColor(colors[key])