Advertisement
koki2000

összefűző

Oct 7th, 2015
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.20 KB | None | 0 0
  1. term.clear()
  2. term.setCursorPos(1,1)
  3. local szam = 0
  4. local t1 = {1,3,5}
  5.  
  6. for i = 1, #t1 do
  7. num = i
  8. print("num: ", num)
  9. sleep(.4)
  10. end
  11.  
  12.  
  13. for j = 1, num do
  14. e = t1[j]
  15. szam = szam + 1
  16. print(e)
  17. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement