title: replace with for in Foxpro
body: <p>I am reverse engineering a program made in FoxPro.</p>
  
  <p><strong>I know nothing of FoxPro</strong>, fortunately the program is simple and more or less I could understand all processes</p>
  
  <p>I have this, in the source code</p>
  
  <pre><code>Select 1
  SET RELATION TO GROUP_T+POL INTO BASE2
  REPLACE MARK_T WITH BASE2-&gt;STATUS FOR GROUP_T+POL=BASE2-&gt;GROUP_T+POL
  REPLACE LAPSE2 WITH BASE2-&gt;LAPSE FOR GROUP_T+POL=BASE2-&gt;GROUP_T+POL
  REPLACE STATUS2 WITH BASE2-&gt;STATUS FOR GROUP_T+POL=BASE2-&gt;GROUP_T+POL
  REPLACE DATPAHAS2 WITH BASE2-&gt;DATPAHAS FOR GROUP_T+POL=BASE2-&gt;GROUP_T+POL
  CLOSE DATABASES
  </code></pre>
  
  <p>I need to know from where the variable <code>LAPSE2</code> this is used later.</p>
  
  <p>But i don´t know as calculated</p>
  
  <p><strong>What does this mean?</strong></p>
  
  <pre><code>REPLACE LAPSE2 WITH BASE2-&gt;LAPSE FOR GROUP_T+POL=BASE2-&gt;GROUP_T+POL
  </code></pre>
  
  <p>This is the only line that appears before use later in a condition</p>