Want more features on Pastebin? Sign Up, it's FREE!
Guest

var

By: a guest on Jan 4th, 2013  |  syntax: Lua  |  size: 0.26 KB  |  views: 21  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. local x
  2. x = 5
  3. print(x+1)
  4. print(x)
  5. x = x+7
  6. print(x)
  7.  
  8. local boolsample = true
  9. print (not boolsample) --False
  10.  
  11. local h = "hello"
  12. local w = "world"
  13.  
  14. print(h," ",w)
  15.  
  16. local info
  17.  
  18. term.write("enter a value ")
  19. info = read()
  20.  
  21. print("you entered ",info)
clone this paste RAW Paste Data