Counter Strike : Global Offensive Source Code
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

50 lines
682 B

  1. local x=10;
  2. local y="asd"
  3. local testy = function(){return 0;}
  4. TestTable <- {
  5. livello2 = {
  6. livello3 = {
  7. ["yooo"]="I'm cool",
  8. ["jaaaa"]=[1,2,3,4,5,6,7,8,9,10],
  9. }
  10. }
  11. }
  12. function TestFunc(a,b)
  13. {
  14. local z=100
  15. local s="I'm a string"
  16. for(local i=0;i<10;i++)
  17. TestTable.cappero(z,i);
  18. //index_that_desnt_exist=100; //error
  19. return 0;
  20. }
  21. function TestTable::cappero(a,b)
  22. {
  23. local ueueueu=100
  24. local s={x="I'm a string"}
  25. oioioi(1,2)
  26. }
  27. function TestTable::oioioi(a,b)
  28. {
  29. local frrrr=100
  30. local xyz={x="I'm a string"}
  31. }
  32. local i = 0;
  33. while(1)
  34. {
  35. local ret;
  36. local testweak = "asdasd";
  37. local weako = testweak.weakref();
  38. i++;
  39. ret=TestFunc("param 1","param 2");
  40. }