title: Lua: Skip variable declaration
body: <p>I am trying to "Skip" a variable, by either never declaring it or just having it garbage collected immediately, but I don't know if it's possible.</p>
  
  <p>Example:</p>
  
  <pre><code>function TestFunc()
     return 1, 2
  end
  
  function SecondFunction()
     local nodeclare, var = TestFunc()
  end
  </code></pre>
  
  <p>Basically what I wanted was for "nodeclare" to not even exist. So if I did print(nodeclare, var) it would do nil, 2.
  The same thing would be if I was doing a pairs loop and I didn't need to use the keyvalue.
  Is there some special thing I can put as the variable name for this to happen? If say I was doing a pairs loop over 100 values, would that even have a signifigant impact?</p>