title: lua : passing parameter to other function problem
body: <p>not sure did anyone ever face this kind of problem. here is my code </p>
  
  <p>in main.lua : </p>
  
  <pre><code>local highScore = require("highScore")
  local username = "myName"
  local finishedTime = 12345
  
  highScore:InsertHighScore(userName, finishedTime)
  </code></pre>
  
  <p>in highScore.lua</p>
  
  <pre><code>function InsertHighScore(name,time)
     print(name)
     print(time)
     -- other code
  end
  </code></pre>
  
  <p>it look simple and shouldn't be wrong, but in my console out put it show :</p>
  
  <pre><code> table: 0x19e6340
   myName
  </code></pre>
  
  <p>after a day of testing, i found that before the 2 parameter that i pass, it actually passing another table to me, so do these changes on highScore.lua:</p>
  
  <pre><code>function InsertHighScore(table,name,time)
     print(table)
     print(name)
     print(time)
     -- other code
  end
  </code></pre>
  
  <p>so now my "other code" can work nicely, but why it pass me a table before my parameter ?</p>