Difference between revisions of "Modem.open"

From ComputerCraft Wiki
Jump to: navigation, search
(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...")
 
(Categorised page)
Line 11: Line 11:
 
}}
 
}}
 
}}
 
}}
 +
 +
[[Category:API_Functions]]

Revision as of 09:41, 25 March 2014

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)