title: How to declare variables with a type in Lua
body: <p>Is it possible to create variables to be a specific type in Lua?</p>
  
  <p>E.g. <code>int x = 4</code></p>
  
  <p>If this is not possible, is there at least some way to have a fake "type" shown before the variable so that anyone reading the code will know what type the variable is <em>supposed</em> to be?</p>
  
  <p>E.g. <code>function addInt(int x=4, int y=5)</code>, but x/y could still be any type of variable? I find it much easier to type the variable's type before it rather than putting a comment at above the function to let any readers know what type of variable it is supposed to be. </p>
  
  <p>The sole reason I'm asking isn't to limit the variable to a specific data type, but simply to have the ability to put a data type before the variable, whether it does anything or not, to let the reader know what type of variable that it is supposed to be without getting an error.</p>