title: convert the code of c# into tcl how to create this array or whatever it is and the how to apply if condition'
body: <p>convert the code given below into tcl :-</p>
  
  <pre class="lang-c# prettyprint-override"><code>ReportLog("\nCheck 4th and 5th TLPs.");
  UInt32[] tlp4 = new UInt32[4];
  UInt32[] tlp5 = new UInt32[4];
  captureMemory.GetTlp(3, tlp4);
  captureMemory.GetTlp(4, tlp5);
  
  for (int i = 0; i &lt; 4; i++)
  {
      if (tlp4[i] != tlp5[i])
      {
          ReportLog("\nRetry buffer not persistent through link recovery. Test failed.");
          ReportResult(ETestResultCode.RESULT_ERROR, "Retry buffer not persistent through link recovery. Test failed.");
          return 1;
      }
  </code></pre>
  
  <p>here value <code>new UInt32[4]</code> is being filled from some other function......
   mainly i ma confused in how to write the part given below....</p>
  
  <pre class="lang-c# prettyprint-override"><code>UInt32[] tlp4 = new UInt32[4];
  UInt32[] tlp5 = new UInt32[4];
  captureMemory.GetTlp(3, tlp4);
  captureMemory.GetTlp(4, tlp5);
  
  for (int i = 0; i &lt; 4; i++)
  {
      if (tlp4[i] != tlp5[i])
      {
  </code></pre>