Advertisement
Guest User

Untitled

a guest
Sep 22nd, 2014
185
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. local file = fs.open("info", "r");
  2. local mon = peripheral.wrap("top");
  3. local currentY = 1;
  4. while true do
  5. line = fs.readLine();
  6. mon.setCursorPos(1, currentY);
  7. mon.write(line);
  8. currentY = currentY + 1;
  9. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement