term.redirect

From ComputerCraft Wiki
Revision as of 04:56, 1 August 2012 by Goad88 (Talk | contribs) (Created page with "{{lowercase}} {{Function |name=term.redirect |returns=None |api=term |addon=ComputerCraft |desc=Redirects terminal output to a monitor(By using peripheral.wrap() to get th...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


Grid Redstone.png  Function term.redirect
Redirects terminal output to a monitor(By using peripheral.wrap() to get the monitor object.)
Syntax term.redirect()
Returns None
Part of ComputerCraft
API term

Examples

Grid paper.png  Example
Prints "Hello World!" on the right monitor.
Code
peripheral.wrap("right")
print("Hello World!")
Output None