﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<?application progid="SMath Studio Desktop" version="0.97.5346.24640"?>
<regions>
  <settings>
    <identity>
      <id>e5f733a3-95f0-4468-b629-856e5eb8217d</id>
      <revision>12</revision>
    </identity>
    <calculation>
      <precision>4</precision>
      <exponentialThreshold>5</exponentialThreshold>
      <fractions>decimal</fractions>
    </calculation>
    <pageModel active="true" printAreas="true" simpleEqualsOnly="false" printBackgroundImages="true">
      <paper id="1" orientation="Portrait" width="850" height="1100" />
      <margins left="39" right="39" top="39" bottom="39" />
      <header alignment="Center" color="#a9a9a9">&amp;[DATE] &amp;[TIME] - &amp;[FILENAME]</header>
      <footer alignment="Center" color="#a9a9a9">&amp;[PAGENUM] / &amp;[COUNT]</footer>
      <backgrounds />
    </pageModel>
    <dependences>
      <assembly name="SMath Studio Desktop" version="0.97.5346.24640" guid="a37cba83-b69c-4c71-9992-55ff666763bd" />
      <assembly name="Text Region" version="1.10.5346.31409" guid="485d28c5-349a-48b6-93be-12a35a1c1e39" />
      <assembly name="Math Region" version="0.97.5346.24640" guid="02f1ab51-215b-466e-a74d-5d8b1cf85e8d" />
      <assembly name="Special Functions" version="1.11.5346.31403" guid="2814e667-4e12-48b1-8d51-194e480eabc5" />
      <assembly name="EXCEL (2003+) I/O with recalculation and PNG export" version="0.1.0.11" guid="e40eaef6-4622-4ef3-ad03-077e8f005bb1" />
    </dependences>
  </settings>
  <region id="0" left="81" top="81" width="61" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
    <text lang="eng">
      <p bold="true" underline="true">INPUT:</p>
    </text>
  </region>
  <region id="1" left="81" top="108" width="60" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">a</e>
        <e type="operand">281</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="2" left="81" top="144" width="68" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">b</e>
        <e type="operand">3994</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="3" left="81" top="180" width="641" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
    <text lang="eng">
      <p bold="true" underline="true">Check if input changed, if yes - recalculate "c", if no - get previous output</p>
    </text>
  </region>
  <region id="4" left="81" top="207" width="367" height="76" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">a</e>
        <e type="operand">b</e>
        <e type="operator" args="2">+</e>
        <e type="function" preserve="true" args="1">txt_HASH</e>
        <e type="operand" style="string">abIN.txt</e>
        <e type="function" preserve="true" args="1">txt_OUT</e>
        <e type="operator" args="2">≡</e>
        <e type="operand">c</e>
        <e type="operand" style="string">abOUT.txt</e>
        <e type="function" preserve="true" args="1">txt_OUT</e>
        <e type="operator" args="2">:</e>
        <e type="operand">c</e>
        <e type="operand">a</e>
        <e type="operand">b</e>
        <e type="operator" args="2">+</e>
        <e type="operator" args="2">:</e>
        <e type="function" preserve="true" args="3">if</e>
      </input>
      <result action="numeric">
        <e type="operand">4275</e>
      </result>
    </math>
  </region>
  <region id="5" left="81" top="297" width="591" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
    <text lang="eng">
      <p bold="true" underline="true">Check if input changed, if yes - export "c" to text file, if no nothing</p>
    </text>
  </region>
  <region id="6" left="81" top="324" width="350" height="78" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">a</e>
        <e type="operand">b</e>
        <e type="operator" args="2">+</e>
        <e type="function" preserve="true" args="1">txt_HASH</e>
        <e type="operand" style="string">abIN.txt</e>
        <e type="function" preserve="true" args="1">txt_OUT</e>
        <e type="operator" args="2">≡</e>
        <e type="bracket">(</e>
        <e type="operand">1</e>
        <e type="operand" style="string">abOUT.txt</e>
        <e type="operand">c</e>
        <e type="function" preserve="true" args="2">txt_IN</e>
        <e type="function" preserve="true" args="3">if</e>
      </input>
      <result action="numeric">
        <e type="operand">1</e>
      </result>
    </math>
  </region>
  <region id="7" left="81" top="414" width="249" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
    <text lang="eng">
      <p bold="true" underline="true">Export new input to text file</p>
    </text>
  </region>
  <region id="8" left="81" top="441" width="311" height="28" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand" style="string">abIN.txt</e>
        <e type="operand">a</e>
        <e type="operand">b</e>
        <e type="operator" args="2">+</e>
        <e type="function" preserve="true" args="1">txt_HASH</e>
        <e type="function" preserve="true" args="2">txt_IN</e>
      </input>
      <result action="numeric">
        <e type="operand">1</e>
      </result>
    </math>
  </region>
</regions>