This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
meeko011's profile picture

k, v in pairs returns "table: " and a hexadecimal code.

Started by meeko011, 12 July 2016 - 12:16 AM
meeko011 #1
Posted 12 July 2016 - 02:16 AM
m = peripheral.wrap("right")
tank = m.getTankInfo()
for k,v in pairs(tank) do
print(k,v)
end

Returned "table: 5ebf43b1".
Anavrins #2
Posted 12 July 2016 - 02:39 AM
tank = m.getTankInfo()[1]