pre-tests.lua 736 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. -- title: A TIC-80 Game
  2. -- author: pixelbath
  3. -- desc: short description
  4. -- site: website link
  5. -- license: MIT License (change this to your license of choice)
  6. -- version: 0.1
  7. -- script: lua
  8. #include "pre-testinclude.lua"
  9. local t=0
  10. -- oh hey I gots a var
  11. -- you also shouldn't see this comment
  12. local var = 3
  13. var_bigger = var + 3
  14. var +=1
  15. var += 2
  16. var+=3
  17. var-=22203948
  18. function just_a_function(inputstring)
  19. return "just_a_function was called"
  20. end
  21. just_a_function("foooooo")
  22. included_function()
  23. #define FOO "foo"
  24. #define BAR 23
  25. #define FUNCTION_SHIT function shit() return "shit" end
  26. function nothing_here()
  27. return nil
  28. end
  29. local test_definestring = FOO + "bar"
  30. local test_defineint = 12 + BAR
  31. FUNCTION_SHIT