title: Lua: Table of functions
body: <p>I am trying to store different functions in a table, but somehow it won't work the way I thought it would. Here is my 'code'</p>
  
  <pre><code>fn_table = { aFun1=print, aFun2=self:getSpeedLevel, aFun3=.... }
  </code></pre>
  
  <p>The problem now is that I can do this with the built in functions like <code>print</code>, <code>assert</code> and so on but it wont work with the other functions I've got. </p>
  
  <p>I get the error: "... function arguments expected near '}'</p>
  
  <p>Is it possible to store these function as well?</p>