﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<?application progid="SMath Studio Desktop" version="0.99.7251.32800"?>
<worksheet xmlns="http://smath.info/schemas/worksheet/1.0">
  <settings ppi="96">
    <identity>
      <id>28e68129-fbec-4a40-9634-7f3e599a65de</id>
      <revision>3</revision>
    </identity>
    <calculation>
      <precision>4</precision>
      <exponentialThreshold>5</exponentialThreshold>
      <trailingZeros>false</trailingZeros>
      <significantDigitsMode>false</significantDigitsMode>
      <roundingMode>0</roundingMode>
      <fractions>decimal</fractions>
    </calculation>
    <pageModel active="true" viewMode="0" printGrid="false" printAreas="true" simpleEqualsOnly="false" printBackgroundImages="true">
      <paper id="1" orientation="Portrait" width="850" height="1100" />
      <margins left="39" right="39" top="49" bottom="49" />
      <footer alignment="Center" color="#a9a9a9">&amp;[PAGENUM] / &amp;[COUNT]</footer>
      <backgrounds />
    </pageModel>
    <dependencies>
      <assembly name="SMath Studio Desktop" version="0.99.7251.32800" guid="a37cba83-b69c-4c71-9992-55ff666763bd" />
      <assembly name="Math Region" version="0.99.7251.32800" guid="02f1ab51-215b-466e-a74d-5d8b1cf85e8d" />
    </dependencies>
  </settings>
  <regions type="content">
    <region top="18" color="#000000">
      <area collapsed="true">
        <title lang="eng">
          <p fontName="Arial">Base convertions</p>
        </title>
      </area>
      <region left="54" top="45" width="1047" height="54" color="#000000" fontSize="10">
        <math>
          <description active="true" position="Top" lang="spa">
            <p>ASCII characters strings.</p>
          </description>
          <input>
            <e type="operand" style="unit">N\0024\.256</e>
            <e type="operand" style="string">\0001\\0002\\0003\\0004\\0005\\0006\\0007\\0008\\0009\\000A\\000B\\000C\\000D\\000E\\000F\\0010\\0011\\0012\\0013\\0014\\0015\\0016\\0017\\0018\\0019\\001A\\001B\\001C\\001D\\001E\\001F\\0020\\0021\\0022\\0023\\0024\\0025\\0026\\0027\\0028\\0029\\002A\\002B\\002C\\002D\\002E\\002F\\0030\\0031\\0032\\0033\\0034\\0035\\0036\\0037\\0038\\0039\\003A\\003B\\003C\\003D\\003E\\003F\\0040\\0041\\0042\\0043\\0044\\0045\\0046\\0047\\0048\\0049\\004A\\004B\\004C\\004D\\004E\\004F\\0050\\0051\\0052\\0053\\0054\\0055\\0056\\0057\\0058\\0059\\005A\\005B\\005C\\005D\\005E\\005F\\0060\\0061\\0062\\0063\\0064\\0065\\0066\\0067\\0068\\0069\\006A\\006B\\006C\\006D\\006E\\006F\\0070\\0071\\0072\\0073\\0074\\0075\\0076\\0077\\0078\\0079\\007A\\007B\\007C\\007D\\007E\\007F\\0080\\0081\\0082\\0083\\0084\\0085\\0086\\0087\\0088\\0089\\008A\\008B\\008C\\008D\\008E\\008F\\0090\\0091\\0092\\0093\\0094\\0095\\0096\\0097\\0098\\0099\\009A\\009B\\009C\\009D\\009E\\009F\\00A0\\00A1\\00A2\\00A3\\00A4\\00A5\\00A6\\00A7\\00A8\\00A9\\00AA\\00AB\\00AC\\00AD\\00AE\\00AF\\00B0\\00B1\\00B2\\00B3\\00B4\\00B5\\00B6\\00B7\\00B8\\00B9\\00BA\\00BB\\00BC\\00BD\\00BE\\00BF\\00C0\\00C1\\00C2\\00C3\\00C4\\00C5\\00C6\\00C7\\00C8\\00C9\\00CA\\00CB\\00CC\\00CD\\00CE\\00CF\\00D0\\00D1\\00D2\\00D3\\00D4\\00D5\\00D6\\00D7\\00D8\\00D9\\00DA\\00DB\\00DC\\00DD\\00DE\\00DF\\00E0\\00E1\\00E2\\00E3\\00E4\\00E5\\00E6\\00E7\\00E8\\00E9\\00EA\\00EB\\00EC\\00ED\\00EE\\00EF\\00F0\\00F1\\00F2\\00F3\\00F4\\00F5\\00F6\\00F7\\00F8\\00F9\\00FA\\00FB\\00FC\\00FD\\00FE\\00FF\\0100\</e>
            <e type="operator" args="2">:</e>
          </input>
        </math>
      </region>
      <region left="54" top="144" width="596" height="24" color="#000000" fontSize="10">
        <math optimize="2">
          <description active="true" position="Top" lang="spa" width="198">
            <p>62 Digits used by Bas2Dec.</p>
          </description>
          <input>
            <e type="operand" style="unit">Digits\0024\</e>
            <e type="operand" style="string">\0030\\0031\\0032\\0033\\0034\\0035\\0036\\0037\\0038\\0039\\0041\\0042\\0043\\0044\\0045\\0046\\0047\\0048\\0049\\004A\\004B\\004C\\004D\\004E\\004F\\0050\\0051\\0052\\0053\\0054\\0055\\0056\\0057\\0058\\0059\\005A\\0061\\0062\\0063\\0064\\0065\\0066\\0067\\0068\\0069\\006A\\006B\\006C\\006D\\006E\\006F\\0070\\0071\\0072\\0073\\0074\\0075\\0076\\0077\\0078\\0079\\007A\</e>
            <e type="operator" args="2">:</e>
          </input>
        </math>
      </region>
      <region left="54" top="216" width="345" height="29" color="#000000" fontSize="10">
        <math optimize="2">
          <description active="true" position="Top" lang="spa">
            <p>Converts the x in base b≤61 to a decimal.</p>
          </description>
          <input>
            <e type="operand">x#</e>
            <e type="operand">b#</e>
            <e type="function" args="2">Bas2Dec</e>
            <e type="operand">x#</e>
            <e type="operand">b#</e>
            <e type="operand" style="unit">Digits\0024\</e>
            <e type="function" args="3">Bas2Dec</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="54" top="279" width="808" height="97" color="#000000" fontSize="10">
        <math optimize="2">
          <description active="true" position="Top" lang="spa">
            <p>Converts the x in base b using digits in D to a decimal.</p>
          </description>
          <input>
            <e type="operand">x#</e>
            <e type="operand">b#</e>
            <e type="operand">D#</e>
            <e type="function" args="3">Bas2Dec</e>
            <e type="operand">k#</e>
            <e type="function" args="1">Clear</e>
            <e type="operand">D#</e>
            <e type="operand">x#</e>
            <e type="operand">k#</e>
            <e type="operand">1</e>
            <e type="operator" args="2">+</e>
            <e type="operand">1</e>
            <e type="function" args="3">substr</e>
            <e type="function" args="2">findstr</e>
            <e type="operand">1</e>
            <e type="function" args="2">el</e>
            <e type="operand">1</e>
            <e type="operator" args="2">-</e>
            <e type="bracket">(</e>
            <e type="operand">b#</e>
            <e type="operand">x#</e>
            <e type="function" args="1">strlen</e>
            <e type="operand">k#</e>
            <e type="operator" args="2">-</e>
            <e type="operand">1</e>
            <e type="operator" args="2">-</e>
            <e type="operator" args="2">^</e>
            <e type="operator" args="2">*</e>
            <e type="operand">k#</e>
            <e type="operand">0</e>
            <e type="operand">x#</e>
            <e type="function" args="1">strlen</e>
            <e type="operand">1</e>
            <e type="operator" args="2">-</e>
            <e type="function" args="4">sum</e>
            <e type="function" args="1">eval</e>
            <e type="operand">2</e>
            <e type="operand">1</e>
            <e type="function" args="4">line</e>
            <e type="operator" args="2">:</e>
          </input>
        </math>
      </region>
      <region left="54" top="405" width="361" height="29" color="#000000" fontSize="10">
        <math optimize="2">
          <description active="true" position="Top" lang="spa">
            <p>Converts the decimal d into a string in base b≤62.</p>
          </description>
          <input>
            <e type="operand">d#</e>
            <e type="operand">b#</e>
            <e type="function" args="2">Dec2Bas\0024\</e>
            <e type="operand">d#</e>
            <e type="operand">b#</e>
            <e type="operand" style="unit">Digits\0024\</e>
            <e type="function" args="3">Dec2Bas\0024\</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="54" top="468" width="501" height="144" color="#000000" fontSize="10">
        <math optimize="2">
          <description active="true" position="Top" lang="spa">
            <p>Converts the decimal d into a string in base b using digits in D.</p>
          </description>
          <input>
            <e type="operand">d#</e>
            <e type="operand">b#</e>
            <e type="operand">D#</e>
            <e type="function" args="3">Dec2Bas\0024\</e>
            <e type="operand">h#</e>
            <e type="operand" style="string"></e>
            <e type="operator" args="2">:</e>
            <e type="operand">x#</e>
            <e type="operand">d#</e>
            <e type="operator" args="2">:</e>
            <e type="operand">1</e>
            <e type="operand">2</e>
            <e type="function" args="4">mat</e>
            <e type="operand">x#</e>
            <e type="operand">0</e>
            <e type="operator" args="2">≠</e>
            <e type="operand">m#</e>
            <e type="operand">x#</e>
            <e type="operand">b#</e>
            <e type="function" args="2">mod</e>
            <e type="operator" args="2">:</e>
            <e type="operand">h#</e>
            <e type="operand">D#</e>
            <e type="operand">m#</e>
            <e type="operand">1</e>
            <e type="operator" args="2">+</e>
            <e type="operand">1</e>
            <e type="function" args="3">substr</e>
            <e type="operand">h#</e>
            <e type="function" args="2">concat</e>
            <e type="operator" args="2">:</e>
            <e type="operand">x#</e>
            <e type="operand">x#</e>
            <e type="operand">m#</e>
            <e type="operator" args="2">-</e>
            <e type="operand">b#</e>
            <e type="operator" args="2">/</e>
            <e type="operator" args="2">:</e>
            <e type="operand">3</e>
            <e type="operand">1</e>
            <e type="function" args="5">line</e>
            <e type="function" args="2">while</e>
            <e type="operand">h#</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 top="639" color="#000000">
        <area terminator="true" />
      </region>
    </region>
    <region left="54" top="666" width="199" height="26" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">258</e>
          <e type="operand">16</e>
          <e type="function" args="2">Dec2Bas\0024\</e>
        </input>
        <result action="numeric">
          <e type="operand" style="string">102</e>
        </result>
      </math>
    </region>
    <region left="288" top="666" width="191" height="26" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand" style="string">\0031\\0030\\0032\</e>
          <e type="operand">16</e>
          <e type="function" args="2">Bas2Dec</e>
        </input>
        <result action="numeric">
          <e type="operand">258</e>
        </result>
      </math>
    </region>
    <region left="54" top="702" width="199" height="26" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">3001</e>
          <e type="operand">60</e>
          <e type="function" args="2">Dec2Bas\0024\</e>
        </input>
        <result action="numeric">
          <e type="operand" style="string">o1</e>
        </result>
      </math>
    </region>
    <region left="288" top="702" width="191" height="26" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand" style="string">o1</e>
          <e type="operand">60</e>
          <e type="function" args="2">Bas2Dec</e>
        </input>
        <result action="numeric">
          <e type="operand">3001</e>
        </result>
      </math>
    </region>
    <region left="54" top="756" width="263" height="26" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">419122461</e>
          <e type="operand">62</e>
          <e type="function" args="2">Dec2Bas\0024\</e>
        </input>
        <result action="numeric">
          <e type="operand" style="string">SMath</e>
        </result>
      </math>
    </region>
    <region left="54" top="792" width="279" height="26" color="#000000" fontSize="10">
      <math>
        <input>
          <e type="operand">9869542528</e>
          <e type="operand">62</e>
          <e type="function" args="2">Dec2Bas\0024\</e>
        </input>
        <result action="numeric">
          <e type="operand" style="string">Alvaro</e>
        </result>
      </math>
    </region>
  </regions>
</worksheet>