Difference between revisions of "Modem.isOpen"
From ComputerCraft Wiki
MKlegoman357 (Talk | contribs) m (Fixed variable types, expanded the example) |
Bomb Bloke (Talk | contribs) m |
||
Line 14: | Line 14: | ||
print("The computer is not listening on channel 5.") | print("The computer is not listening on channel 5.") | ||
end</pre> | end</pre> | ||
− | |output= | + | |output=Whether or not channel 5 is open. |
}} | }} | ||
}} | }} | ||
[[Category:API_Functions]] | [[Category:API_Functions]] |
Revision as of 14:24, 8 April 2014
Function modem.isOpen | |
Checks whether or not a certain channel is open. | |
Syntax | modem.isOpen(number channel) |
Returns | boolean is channel open? |
Part of | ComputerCraft |
API | Modem |