Posted 16 March 2020 - 04:04 PM
How do I search a table for specific keys? I have read the 5.1 reference manual, but there's just too much to keep in track of.
specifically, I need to copy sub-tables from peripheral.getNames() to a different table.
since I'm making an inventory management program I need to keep track of where items are and since iterating trough a table is easier than polluting the global environment or hard coding things.
thanks in advance!
with regards,
-qwerty
specifically, I need to copy sub-tables from peripheral.getNames() to a different table.
since I'm making an inventory management program I need to keep track of where items are and since iterating trough a table is easier than polluting the global environment or hard coding things.
thanks in advance!
with regards,
-qwerty