Api/netlib.sendtable(): Difference between revisions

From Minux Wiki
Jump to navigation Jump to search
(Created page with "netlib function used to send a table to another system it will first send a regular rednet message with the string "sendtable", your listen program needs to catch this, after that, use "gettable" to receive it. '''usage:''' local temp = netlib.sendtable(client, table) '''output:''' sends the table provided to the client returns true if successfull, returns false if failed")
 
No edit summary
 
Line 1: Line 1:
[[Api/netlib|netlib function]] used to send a table to another system
[[Api/netlib|netlib function]] used to send a table to another system


it will first send a regular rednet message with the string "sendtable", your listen program needs to catch this, after that, use "gettable" to receive it.





Latest revision as of 02:17, 14 October 2024

netlib function used to send a table to another system


usage:

local temp = netlib.sendtable(client, table)


output:

sends the table provided to the client

returns true if successfull,

returns false if failed