﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<?application progid="SMath Studio Desktop" version="0.99.7921.69"?>
<worksheet xmlns="http://smath.info/schemas/worksheet/1.0">
  <settings ppi="96">
    <identity>
      <id>9c67205c-1882-4e7f-9152-32c055ea39db</id>
      <revision>6</revision>
    </identity>
    <calculation>
      <precision>4</precision>
      <exponentialThreshold>5</exponentialThreshold>
      <trailingZeros>false</trailingZeros>
      <significantDigitsMode>false</significantDigitsMode>
      <roundingMode>0</roundingMode>
      <fractions>decimal</fractions>
    </calculation>
    <pageModel active="false" viewMode="2" printGrid="false" printAreas="true" simpleEqualsOnly="false" printBackgroundImages="true">
      <paper id="9" orientation="Portrait" width="827" height="1169" />
      <margins left="39" right="39" top="49" bottom="49" />
      <header alignment="Center" color="#a9a9a9">&amp;[DATE] &amp;[TIME] - &amp;[FILENAME]</header>
      <footer alignment="Center" color="#a9a9a9">&amp;[PAGENUM] / &amp;[COUNT]</footer>
      <backgrounds />
    </pageModel>
    <dependencies>
      <assembly name="SMath Studio Desktop" version="0.99.7921.69" guid="a37cba83-b69c-4c71-9992-55ff666763bd" />
      <assembly name="MathRegion" version="1.11.7921.69" guid="02f1ab51-215b-466e-a74d-5d8b1cf85e8d" />
      <assembly name="SpecialFunctions" version="1.12.7921.69" guid="2814e667-4e12-48b1-8d51-194e480eabc5" />
      <assembly name="TextRegion" version="1.11.7921.69" guid="485d28c5-349a-48b6-93be-12a35a1c1e39" />
      <assembly name="Table Region" version="0.3.7806.4448" guid="51fec712-ec75-4551-a13e-478d375ae8d6" />
    </dependencies>
  </settings>
  <regions type="content">
    <region left="18" top="0" width="560" height="143" color="#000000" fontSize="12">
      <math>
        <description active="true" position="Right" lang="eng" width="150">
          <content>
            <p>the function will return the value corresponding to index j (row: j+1), from column k to the last column, and its label (key)</p>
          </content>
        </description>
        <input>
          <e type="operand">tab</e>
          <e type="operand">j</e>
          <e type="operand">k</e>
          <e type="function" args="3">assign.par</e>
          <e type="operand">kk</e>
          <e type="operand">1</e>
          <e type="operator" args="2">:</e>
          <e type="operand">i</e>
          <e type="operand">k</e>
          <e type="operand">tab</e>
          <e type="function" args="1">cols</e>
          <e type="function" args="2">range</e>
          <e type="operand">key_value</e>
          <e type="operand">kk</e>
          <e type="function" args="2">el</e>
          <e type="operand">tab</e>
          <e type="operand">1</e>
          <e type="operand">i</e>
          <e type="function" args="3">el</e>
          <e type="operand">tab</e>
          <e type="operand">j</e>
          <e type="operand">1</e>
          <e type="operator" args="2">+</e>
          <e type="bracket">(</e>
          <e type="operand">i</e>
          <e type="function" args="3">el</e>
          <e type="operand">1</e>
          <e type="operand">2</e>
          <e type="function" args="4">mat</e>
          <e type="operator" args="2">:</e>
          <e type="operand">kk</e>
          <e type="operand">kk</e>
          <e type="operand">1</e>
          <e type="operator" args="2">+</e>
          <e type="operator" args="2">:</e>
          <e type="operand">2</e>
          <e type="operand">1</e>
          <e type="function" args="4">line</e>
          <e type="function" args="3">for</e>
          <e type="operand">key_value</e>
          <e type="operand">3</e>
          <e type="operand">1</e>
          <e type="function" args="5">line</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="18" top="207" width="629" height="33" color="#000000" fontSize="12">
      <math>
        <description active="true" position="Top" lang="eng">
          <content>
            <p>simple function to declare variables</p>
          </content>
        </description>
        <input>
          <e type="operand">key</e>
          <e type="operand">value</e>
          <e type="function" args="2">declare_var</e>
          <e type="operand">key</e>
          <e type="operand" style="string">:</e>
          <e type="operand">value</e>
          <e type="function" args="1">num2str</e>
          <e type="function" args="3">concat</e>
          <e type="function" args="1">str2num</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="18" top="261" width="216" height="29" color="#000000" fontSize="12">
      <math>
        <input>
          <e type="operand" style="string">s</e>
          <e type="operand">1</e>
          <e type="function" args="2">declare_var</e>
        </input>
        <result action="numeric">
          <e type="operand">1</e>
        </result>
      </math>
    </region>
    <region left="333" top="261" width="51" height="27" color="#000000" fontSize="12">
      <math>
        <input>
          <e type="operand">s</e>
        </input>
        <result action="numeric">
          <e type="operand">1</e>
        </result>
      </math>
    </region>
    <region left="405" top="270" width="102" height="26" color="#000000" fontSize="12">
      <text lang="ita" fontFamily="Arial" fontSize="12">
        <content>
          <p>sanity check</p>
        </content>
      </text>
    </region>
    <region left="18" top="288" width="235" height="29" color="#000000" fontSize="12">
      <math>
        <input>
          <e type="operand" style="string">s</e>
          <e type="operand">50</e>
          <e type="function" args="2">declare_var</e>
        </input>
        <result action="symbolic">
          <e type="operand">50</e>
        </result>
      </math>
    </region>
    <region left="333" top="288" width="60" height="27" color="#000000" fontSize="12">
      <math>
        <input>
          <e type="operand">s</e>
        </input>
        <result action="numeric">
          <e type="operand">50</e>
        </result>
      </math>
    </region>
    <region left="18" top="315" width="302" height="29" color="#000000" fontSize="12">
      <math>
        <input>
          <e type="operand" style="string">franco</e>
          <e type="operand">125</e>
          <e type="function" args="2">declare_var</e>
        </input>
        <result action="symbolic">
          <e type="operand">125</e>
        </result>
      </math>
    </region>
    <region left="333" top="315" width="118" height="27" color="#000000" fontSize="12">
      <math>
        <input>
          <e type="operand">franco</e>
        </input>
        <result action="numeric">
          <e type="operand">125</e>
        </result>
      </math>
    </region>
    <region left="18" top="414" width="687" height="45" color="#000000" fontSize="12">
      <math>
        <description active="true" position="Top" lang="eng">
          <content>
            <p>same funtcion, but with only one input (vector of 2 elements)</p>
          </content>
        </description>
        <input>
          <e type="operand">key_val</e>
          <e type="function" args="1">declare_var</e>
          <e type="operand">key_val</e>
          <e type="operand">1</e>
          <e type="function" args="2">el</e>
          <e type="operand" style="string">:</e>
          <e type="operand">key_val</e>
          <e type="operand">2</e>
          <e type="function" args="2">el</e>
          <e type="function" args="1">num2str</e>
          <e type="function" args="3">concat</e>
          <e type="function" args="1">str2num</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="18" top="504" width="321" height="96" color="#000000" fontSize="12">
      <math>
        <description active="true" position="Right" lang="eng">
          <content>
            <p>some example matrix, that will displayed as table</p>
          </content>
        </description>
        <input>
          <e type="operand">parameters</e>
          <e type="operand" style="string">index</e>
          <e type="operand" style="string">a</e>
          <e type="operand" style="string">b</e>
          <e type="operand" style="string">c</e>
          <e type="operand">1</e>
          <e type="operand">1.1</e>
          <e type="operand">1.2</e>
          <e type="operand">1.3</e>
          <e type="operand">2</e>
          <e type="operand">2.1</e>
          <e type="operand">2.2</e>
          <e type="operand">2.3</e>
          <e type="operand">3</e>
          <e type="operand">3.1</e>
          <e type="operand">3.2</e>
          <e type="operand">3.3</e>
          <e type="operand">4</e>
          <e type="operand">4</e>
          <e type="function" args="18">mat</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="18" top="621" width="251" height="124" color="#000000" fontSize="12">
      <table id="1" elementsOnDataSizeChange="10,10" focus="0,0;3,3" bgColor="White" borderSize="1,1" borderStyle="Solid,Solid" borderColor="Black,Black" frameBorderSize="1,1,1,1" frameBorderStyle="Solid,Solid,Solid,Solid" frameBorderColor="Black,Black,Black,Black" resizeFrame="5px #0080FF" resizeFrameInner="#000000 alpha:0" resizeFrameOuter="#0A0A0A alpha:130">
        <inputs>
          <e regions="columns">parameters</e>
          <e regions="columns">declare_var</e>
          <e regions="columns">assign.par</e>
          <e regions="rows">parameters</e>
          <e regions="rows">declare_var</e>
          <e regions="rows">assign.par</e>
        </inputs>
        <regions header="False" lstub="False" units="False,Top" rstub="False" footer="False" footnote="False" caption="True,Bottom">
          <body rows="4" cols="4" align="Center" pattern="Fixed,Fixed" borderSize="1,1" borderStyle="Dot,Dot" borderColor="Black,Black" padding="3,3" color="Black,Black" bgColor="White,White" style="Uniform" styleEffects="None" font="Courier New, 10pt" numbers="Default,2,15,False,0,True,6" highlighters="#0080FF,White,#E1E1E1,Black" ellipsisFont="Courier New, 13.333333px" ellipsisSize="0">
            <tr>
              <td>index</td>
              <td>a</td>
              <td>b</td>
              <td>c</td>
            </tr>
            <tr>
              <td>1</td>
              <td>1.1</td>
              <td>1.2</td>
              <td>1.3</td>
            </tr>
            <tr>
              <td>2</td>
              <td>2.1</td>
              <td>2.2</td>
              <td>2.3</td>
            </tr>
            <tr>
              <td>3</td>
              <td>3.1</td>
              <td>3.2</td>
              <td>3.3</td>
            </tr>
          </body>
          <units input="" rows="1" cols="1" align="Center" pattern="Fixed,Fixed" borderSize="1,1" borderStyle="Dot,Dot" borderColor="Black,Black" padding="3,3" color="Black,Black" bgColor="White,White" style="Uniform" styleEffects="None" font="Courier New, 10pt" numbers="Default,2,15,False,0,True,6" highlighters="#0080FF,White,#E1E1E1,Black" ellipsisFont="Courier New, 13.333333px" ellipsisSize="0">
            <tr>
              <td>#</td>
            </tr>
          </units>
          <header input="" rows="1" cols="1" align="Center" pattern="Fixed,Fixed" borderSize="1,1" borderStyle="Dot,Dot" borderColor="Black,Black" padding="3,3" color="Black,Black" bgColor="White,White" style="Uniform" styleEffects="None" font="Courier New, 10pt" numbers="Default,2,15,False,0,True,6" highlighters="#0080FF,White,#E1E1E1,Black" ellipsisFont="Courier New, 13.333333px" ellipsisSize="0">
            <tr>
              <td>#</td>
            </tr>
          </header>
          <lstub input="" rows="1" cols="1" align="Center" pattern="Fixed,Fixed" borderSize="1,1" borderStyle="Dot,Dot" borderColor="Black,Black" padding="3,3" color="Black,Black" bgColor="White,White" style="Uniform" styleEffects="None" font="Courier New, 10pt" numbers="Default,2,15,False,0,True,6" highlighters="#0080FF,White,#E1E1E1,Black" ellipsisFont="Courier New, 13.333333px" ellipsisSize="0">
            <tr>
              <td>#</td>
            </tr>
          </lstub>
          <rstub input="" rows="1" cols="1" align="Center" pattern="Fixed,Fixed" borderSize="1,1" borderStyle="Dot,Dot" borderColor="Black,Black" padding="3,3" color="Black,Black" bgColor="White,White" style="Uniform" styleEffects="None" font="Courier New, 10pt" numbers="Default,2,15,False,0,True,6" highlighters="#0080FF,White,#E1E1E1,Black" ellipsisFont="Courier New, 13.333333px" ellipsisSize="0">
            <tr>
              <td>#</td>
            </tr>
          </rstub>
          <footer input="" rows="1" cols="1" align="Center" pattern="Fixed,Fixed" borderSize="1,1" borderStyle="Dot,Dot" borderColor="Black,Black" padding="3,3" color="Black,Black" bgColor="White,White" style="Uniform" styleEffects="None" font="Courier New, 10pt" numbers="Default,2,15,False,0,True,6" highlighters="#0080FF,White,#E1E1E1,Black" ellipsisFont="Courier New, 13.333333px" ellipsisSize="0">
            <tr>
              <td>#</td>
            </tr>
          </footer>
          <footnote align="Near" borderSize="1" borderStyle="Solid" borderColor="Black" padding="3,3" color="Black" bgColor="White" font="Courier New, 10px" text="NOTE" />
          <caption align="Near" borderSize="1" borderStyle="Solid" borderColor="Black" padding="3,3" color="Black" bgColor="White" font="Courier New, 13.3333321px" text="Table %T" />
        </regions>
        <input>
          <e type="operand">parameters</e>
        </input>
      </table>
    </region>
    <region left="306" top="648" width="176" height="26" color="#000000" fontSize="12">
      <text lang="ita" fontFamily="Arial" fontSize="12">
        <content>
          <p>filter value frome table:</p>
        </content>
      </text>
    </region>
    <region left="306" top="702" width="336" height="34" color="#000000" fontSize="12">
      <math>
        <input>
          <e type="operand">result</e>
          <e type="operand">parameters</e>
          <e type="operand">3</e>
          <e type="operand">2</e>
          <e type="function" args="3">assign.par</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="306" top="738" width="186" height="85" color="#000000" fontSize="12">
      <math>
        <input>
          <e type="operand">result</e>
        </input>
        <result action="numeric">
          <e type="operand" style="string">a</e>
          <e type="operand">3.1</e>
          <e type="operand">1</e>
          <e type="operand">2</e>
          <e type="function" args="4">mat</e>
          <e type="operand" style="string">b</e>
          <e type="operand">3.2</e>
          <e type="operand">1</e>
          <e type="operand">2</e>
          <e type="function" args="4">mat</e>
          <e type="operand" style="string">c</e>
          <e type="operand">3.3</e>
          <e type="operand">1</e>
          <e type="operand">2</e>
          <e type="function" args="4">mat</e>
          <e type="operand">3</e>
          <e type="operand">1</e>
          <e type="function" args="5">mat</e>
        </result>
      </math>
    </region>
    <region left="513" top="756" width="231" height="26" color="#000000" fontSize="12">
      <text lang="ita" fontFamily="Arial" fontSize="12">
        <content>
          <p>the result is a vector of vectors</p>
        </content>
      </text>
    </region>
    <region left="36" top="837" width="257" height="74" color="#000000" fontSize="12">
      <math>
        <input>
          <e type="operand">result</e>
          <e type="function" args="1">declare_var</e>
          <e type="function" args="1">vectorize</e>
        </input>
        <result action="numeric">
          <e type="operand">3.1</e>
          <e type="operand">3.2</e>
          <e type="operand">3.3</e>
          <e type="operand">3</e>
          <e type="operand">1</e>
          <e type="function" args="5">mat</e>
        </result>
      </math>
    </region>
    <region left="387" top="837" width="70" height="27" color="#000000" fontSize="12">
      <math>
        <input>
          <e type="operand">a</e>
        </input>
        <result action="numeric">
          <e type="operand">3.1</e>
        </result>
      </math>
    </region>
    <region left="387" top="864" width="70" height="27" color="#000000" fontSize="12">
      <math>
        <input>
          <e type="operand">b</e>
        </input>
        <result action="numeric">
          <e type="operand">3.2</e>
        </result>
      </math>
    </region>
    <region left="504" top="864" width="173" height="26" color="#000000" fontSize="12">
      <text lang="ita" fontFamily="Arial" fontSize="12">
        <content>
          <p>vectorize will work fine</p>
        </content>
      </text>
    </region>
    <region left="387" top="891" width="70" height="27" color="#000000" fontSize="12">
      <math>
        <input>
          <e type="operand">c</e>
        </input>
        <result action="numeric">
          <e type="operand">3.3</e>
        </result>
      </math>
    </region>
    <region left="18" top="972" width="427" height="35" color="#000000" fontSize="12">
      <math error="9">
        <input>
          <e type="operand">key_val</e>
          <e type="function" args="1">declare_vars</e>
          <e type="operand">key_val</e>
          <e type="function" args="1">declare_var</e>
          <e type="function" args="1">vectorize</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="486" top="972" width="275" height="62" color="#000000" fontSize="12" isBreakable="false">
      <text lang="ita" fontFamily="Arial" fontSize="12">
        <content>
          <p>but if I try to wrap in a function, it will not work anymore (msg error: argument must be a string)</p>
        </content>
      </text>
    </region>
    <region left="18" top="1071" width="435" height="39" color="#000000" fontSize="12">
      <math>
        <input>
          <e type="operand">key_val</e>
          <e type="function" args="1">declare_vars</e>
          <e type="operand">key_val</e>
          <e type="function" args="1">declare_var</e>
          <e type="function" args="1">vectorize</e>
          <e type="operand">1</e>
          <e type="operand">1</e>
          <e type="function" args="3">line</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="477" top="1080" width="202" height="26" color="#000000" fontSize="12" isBreakable="false">
      <text lang="ita" fontFamily="Arial" fontSize="12">
        <content>
          <p>to avoid error I need line ()</p>
        </content>
      </text>
    </region>
    <region left="18" top="1143" width="167" height="29" color="#000000" fontSize="12">
      <math>
        <input>
          <e type="operand">a</e>
          <e type="operand">b</e>
          <e type="operand">c</e>
          <e type="function" args="3">Clear</e>
        </input>
        <result action="numeric">
          <e type="operand">1</e>
        </result>
      </math>
    </region>
    <region left="18" top="1179" width="51" height="27" color="#000000" fontSize="12">
      <math error="2" errorLocation="0">
        <input>
          <e type="operand">a</e>
        </input>
        <result action="numeric">
          <e type="operand">#</e>
        </result>
      </math>
    </region>
    <region left="18" top="1206" width="51" height="27" color="#000000" fontSize="12">
      <math error="2" errorLocation="0">
        <input>
          <e type="operand">b</e>
        </input>
        <result action="numeric">
          <e type="operand">#</e>
        </result>
      </math>
    </region>
    <region left="18" top="1233" width="51" height="27" color="#000000" fontSize="12">
      <math error="2" errorLocation="0">
        <input>
          <e type="operand">c</e>
        </input>
        <result action="numeric">
          <e type="operand">#</e>
        </result>
      </math>
    </region>
    <region left="18" top="1287" width="267" height="74" color="#000000" fontSize="12">
      <math>
        <input>
          <e type="operand">result</e>
          <e type="function" args="1">declare_vars</e>
        </input>
        <result action="numeric">
          <e type="operand">3.1</e>
          <e type="operand">3.2</e>
          <e type="operand">3.3</e>
          <e type="operand">3</e>
          <e type="operand">1</e>
          <e type="function" args="5">mat</e>
        </result>
      </math>
    </region>
    <region left="468" top="1305" width="292" height="62" color="#000000" fontSize="12">
      <text lang="ita" fontFamily="Arial" fontSize="12">
        <content>
          <p>it seems to work, but of course the variables definition with line is local, so the global variables are not set</p>
        </content>
      </text>
    </region>
    <region left="18" top="1377" width="51" height="27" color="#000000" fontSize="12">
      <math error="2" errorLocation="0">
        <input>
          <e type="operand">a</e>
        </input>
        <result action="numeric">
          <e type="operand">#</e>
        </result>
      </math>
    </region>
    <region left="18" top="1404" width="51" height="27" color="#000000" fontSize="12">
      <math error="2" errorLocation="0">
        <input>
          <e type="operand">b</e>
        </input>
        <result action="numeric">
          <e type="operand">#</e>
        </result>
      </math>
    </region>
    <region left="18" top="1431" width="51" height="27" color="#000000" fontSize="12">
      <math error="2" errorLocation="0">
        <input>
          <e type="operand">c</e>
        </input>
        <result action="numeric">
          <e type="operand">#</e>
        </result>
      </math>
    </region>
    <region left="18" top="1485" width="315" height="26" color="#000000" fontSize="12">
      <text lang="ita" fontFamily="Arial" fontSize="12">
        <content>
          <p>the best I can do is a 2 functions approach</p>
        </content>
      </text>
    </region>
    <region left="18" top="1521" width="163" height="29" color="#000000" fontSize="12">
      <math>
        <input>
          <e type="operand">result</e>
          <e type="function" args="1">Clear</e>
        </input>
        <result action="numeric">
          <e type="operand">1</e>
        </result>
      </math>
    </region>
    <region left="18" top="1575" width="471" height="111" color="#000000" fontSize="12">
      <math>
        <input>
          <e type="operand">result</e>
          <e type="operand">parameters</e>
          <e type="operand">1</e>
          <e type="operand">1</e>
          <e type="function" args="3">assign.par</e>
          <e type="operator" args="2">:</e>
        </input>
        <result action="numeric">
          <e type="operand" style="string">index</e>
          <e type="operand">1</e>
          <e type="operand">1</e>
          <e type="operand">2</e>
          <e type="function" args="4">mat</e>
          <e type="operand" style="string">a</e>
          <e type="operand">1.1</e>
          <e type="operand">1</e>
          <e type="operand">2</e>
          <e type="function" args="4">mat</e>
          <e type="operand" style="string">b</e>
          <e type="operand">1.2</e>
          <e type="operand">1</e>
          <e type="operand">2</e>
          <e type="function" args="4">mat</e>
          <e type="operand" style="string">c</e>
          <e type="operand">1.3</e>
          <e type="operand">1</e>
          <e type="operand">2</e>
          <e type="function" args="4">mat</e>
          <e type="operand">4</e>
          <e type="operand">1</e>
          <e type="function" args="6">mat</e>
        </result>
      </math>
    </region>
    <region left="18" top="1719" width="257" height="96" color="#000000" fontSize="12">
      <math>
        <input>
          <e type="operand">result</e>
          <e type="function" args="1">declare_var</e>
          <e type="function" args="1">vectorize</e>
        </input>
        <result action="numeric">
          <e type="operand">1</e>
          <e type="operand">1.1</e>
          <e type="operand">1.2</e>
          <e type="operand">1.3</e>
          <e type="operand">4</e>
          <e type="operand">1</e>
          <e type="function" args="6">mat</e>
        </result>
      </math>
    </region>
    <region left="360" top="1728" width="89" height="27" color="#000000" fontSize="12">
      <math>
        <input>
          <e type="operand">index</e>
        </input>
        <result action="numeric">
          <e type="operand">1</e>
        </result>
      </math>
    </region>
    <region left="360" top="1746" width="70" height="27" color="#000000" fontSize="12">
      <math>
        <input>
          <e type="operand">a</e>
        </input>
        <result action="numeric">
          <e type="operand">1.1</e>
        </result>
      </math>
    </region>
    <region left="360" top="1773" width="70" height="27" color="#000000" fontSize="12">
      <math>
        <input>
          <e type="operand">b</e>
        </input>
        <result action="numeric">
          <e type="operand">1.2</e>
        </result>
      </math>
    </region>
    <region left="360" top="1800" width="70" height="27" color="#000000" fontSize="12">
      <math>
        <input>
          <e type="operand">c</e>
        </input>
        <result action="numeric">
          <e type="operand">1.3</e>
        </result>
      </math>
    </region>
    <region left="18" top="1863" width="408" height="42" color="#000000" fontSize="12">
      <math error="69">
        <input>
          <e type="operand">parameters</e>
          <e type="operand">3</e>
          <e type="operand">2</e>
          <e type="function" args="3">assign.par</e>
          <e type="function" args="1">declare_var</e>
          <e type="function" args="1">vectorize</e>
        </input>
        <result action="numeric">
          <e type="operand">#</e>
        </result>
      </math>
    </region>
    <region left="468" top="1872" width="251" height="26" color="#000000" fontSize="12">
      <text lang="ita" fontFamily="Arial" fontSize="12">
        <content>
          <p>this will not work for some reason</p>
        </content>
      </text>
    </region>
    <region left="18" top="1971" width="373" height="55" color="#000000" fontSize="12">
      <math optimize="2" error="9">
        <input>
          <e type="operand">f</e>
          <e type="operand">kv</e>
          <e type="operand">parameters</e>
          <e type="operand">3</e>
          <e type="operand">1</e>
          <e type="function" args="3">assign.par</e>
          <e type="operand">kv</e>
          <e type="function" args="1">declare_var</e>
          <e type="function" args="3">for</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="468" top="1989" width="283" height="26" color="#000000" fontSize="12">
      <text lang="ita" fontFamily="Arial" fontSize="12">
        <content>
          <p>this kinda works, but I still get an error</p>
        </content>
      </text>
    </region>
    <region left="18" top="2034" width="89" height="27" color="#000000" fontSize="12">
      <math>
        <input>
          <e type="operand">index</e>
        </input>
        <result action="numeric">
          <e type="operand">3</e>
        </result>
      </math>
    </region>
    <region left="18" top="2061" width="70" height="27" color="#000000" fontSize="12">
      <math>
        <input>
          <e type="operand">a</e>
        </input>
        <result action="numeric">
          <e type="operand">3.1</e>
        </result>
      </math>
    </region>
    <region left="18" top="2088" width="70" height="27" color="#000000" fontSize="12">
      <math>
        <input>
          <e type="operand">b</e>
        </input>
        <result action="numeric">
          <e type="operand">3.2</e>
        </result>
      </math>
    </region>
    <region left="18" top="2115" width="70" height="27" color="#000000" fontSize="12">
      <math>
        <input>
          <e type="operand">c</e>
        </input>
        <result action="numeric">
          <e type="operand">3.3</e>
        </result>
      </math>
    </region>
  </regions>
</worksheet>