Advertisement
GNOOR1S

Part TWO of basic programming in computercraft

Feb 9th, 2015
297
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.22 KB | None | 0 0
  1. t = term
  2.  
  3. pr = function(string)
  4.   t.write(string)
  5.    
  6.   x, y = t.getCursorPos()
  7.  
  8.   t.setCursorPos(1, y+1)
  9.  
  10. end
  11.  
  12. pr("THIS IS A FUNCTION ARGUMENT : LN" .. y)
  13.  
  14. print("HelloWorld. This is the print function")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement