Advertisement
AlertK

Untitled

Dec 28th, 2015
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. function podajwspolrzedne()
  2.  
  3. file=io.open("lokalizacja/xwk", "r")
  4. odczyt1=file:read()
  5. file:close()
  6. write("kierunek to: ")
  7. print(odczyt1)
  8.  
  9. file=io.open("lokalizacja/xwn", "r")
  10. odczyt2=file:read()
  11. file:close()
  12. write("wspolrzednia N-S to: ")
  13. print(odczyt2)
  14.  
  15. file=io.open("lokalizacja/xww", "r")
  16. odczyt3=file:read()
  17. file:close()
  18. write("wspolrzednia W-E to: ")
  19. print(odczyt3)
  20.  
  21. file=io.open("lokalizacja/xwp", "r")
  22. odczyt4=file:read()
  23. file:close()
  24. write("wspolrzednia pionowa to: ")
  25. print(odczyt4)
  26.  
  27. end
  28.  
  29. podajwspolrzedne()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement