Api/netlib.sendtable()

From Minux Wiki
Revision as of 00:06, 14 October 2024 by Shorun (talk | contribs) (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")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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