title: Lua, Require, Available Functions
body: <p>If I <code>require</code> three included files in my Lua script, can any function in any one of those files then see (and most importantly, call) any of the other functions ?</p>
  
  <p>I'm running into the problem of functions calling functions which call other functions. I tried to put the various functions in other files, and then <code>include</code> them instead of writing them into the main file.</p>
  
  <p>I <em>think</em> it's working, my tests are convincing if not conclusive.</p>
  
  <p>My mainline code does this...</p>
  
  <pre><code> require "SOME_REQUIRED_FILE_01"
   require "SOME_REQUIRED_FILE_02"
   require "SOME_REQUIRED_FILE_03"
  
   XYZ = 0
  
   File_02_Function_A()
  </code></pre>
  
  <p>I looked on <a href="http://www.Lua.org" rel="noreferrer">The Lua Site</a> and found <a href="http://www.lua.org/pil/8.1.html" rel="noreferrer">THIS PAGE</a> but I'm not totally clear on it.</p>
  
  <p>Can <strong><em>EVERY</em></strong> function in <em>all three</em>  required files see <strong>EVERY OTHER</strong> function in all three files ?</p>