Modem.open

From ComputerCraft Wiki
Revision as of 05:26, 7 August 2013 by Iownall555 (Talk | contribs) (Created page with "{{Function |name=modem.open |args={{type|int}} channel |api=Modem |addon=ComputerCraft |desc=Opens the specified channel to allow listening for messages. |examples= {{Example...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Grid Redstone.png  Function modem.open
Opens the specified channel to allow listening for messages.
Syntax modem.open(int channel)
Returns nil
Part of ComputerCraft
API Modem

Examples

Grid paper.png  Example
Opens the specified channel to allow listening for messages.
Code
modem.open(1)