title: Tables inside table in lua
body: <p>I am trying to access the element of a table which is inside a table.</p>
  
  <pre><code>MainTable={Table1={},Table2={},Table3={}}
  
  Table1.is="Bool"
  Table1.Name="Bit1".
  </code></pre>
  
  <p>similar parameters for Table2 and Table3</p>
  
  <p>If I access either <code>Maintable.Table1[is]</code> or <code>Maintable[Table1[is]]</code>, it is returning null.</p>
  
  <p>How do I get the value of <code>is</code> or <code>Name</code>?</p>
  
  <p>How I can use pairs in this regard?</p>