Difference between revisions of "Term.redirect"
From ComputerCraft Wiki
m (Moved to CAT:APIFunctions) |
|||
| Line 13: | Line 13: | ||
}} | }} | ||
}} | }} | ||
| + | |||
| + | [[Category:API_Functions]] | ||
Revision as of 18:40, 28 November 2012
| Redirects terminal output to a monitor (By using peripheral.wrap to get the monitor object.) or other redirect target. | |
| Syntax | term.redirect() |
| Returns | None |
| Part of | ComputerCraft |
| API | term |
Examples
| Prints "Hello World!" on the right monitor. | |
| Code |
term.redirect(peripheral.wrap("right"))
|
| Output | None |