title: Multiline function tables in lua
body: <p>I cannot seem to find any other online help about creating a table which contains functions which are multiline. For example, here is a snippit of code from the lua wiki.</p>
  
  <pre><code>action = {
    [1] = function (x) print(1) end,
    [2] = function (x) z = 5 end,
    ["nop"] = function (x) print(math.random()) end,
    ["my name"] = function (x) print("fred") end,
  }
  </code></pre>
  
  <p>I want to do something like this:</p>
  
  <pre><code>action = {
  [1] = function blah()
  more code here
  end
  
  [2] = function blahblah()
  more code here
  end
  
  }
  </code></pre>
  
  <p>So how can I do so?</p>