<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Le 18/02/2016 18:45, Samuel Gougeon a
      écrit :<br>
    </div>
    <blockquote cite="mid:56C60351.7080908@free.fr" type="cite">
      <meta content="text/html; charset=windows-1252"
        http-equiv="Content-Type">
      <b>.../...<br>
        The SEP does not present </b><b><u>insertion and extraction of
          multiple components</u> in a once</b>. <br>
      <ul>
        <li> After still <b>c = { %pi %i %t ; %z "abc" list(1,%s)}, </b>the

          current implementation is the following:<br>
          <br>
        </li>
        <ul>
          <li><b>multiple insertion</b>: <font color="#993399"><b>a) of
                corresponding multiple components</b>:</font><br>
          </li>
          <ul>
            <li><tt>c(:,1) = { %e "zz" } <br>
              </tt>assigns %e to c(1,1) and "zz" to c(2,1) <i>in a
                distributive way</i>! <br>
            </li>
            <ol>
              <li>.../...<br>
                <br>
              </li>
            </ol>
            <li>  <tt>c(:,1) = list(%e, "zz")<br>
              </tt>should do the same. But it does not:<tt><br>
                --> c(:,1) = list(%e, "zz")<br>
                Wrong insertion: A Cell expected: use {...} instead of
                (...).<br>
              </tt>This feature might be implemented later. This is not
              so urgent as removing the {} addressing.<br>
            </li>
          </ul>
        </ul>
      </ul>
    </blockquote>
    <font color="#009900">By the way, a workaround already exists to do
      that:<br>
      <tt>L = list(%e, "zz")  // any list to be used as the source of
        data to be inserted</tt><tt><br>
      </tt><tt>c(:,1) = makecell([1 size(L)], L(:))  // does it.</tt><tt><br>
      </tt></font><br>
    <blockquote cite="mid:56C60351.7080908@free.fr" type="cite">
      <ul>
        <ul>
          <ul>
            <li> <br>
              If this feature is implemented, how will it be possible to
              insert a list in a single component?</li>
            <ul>
              <li><tt>c(3) = list(list(%t))</tt> // will do it. Or if
                the size of the list is not 1, even</li>
            </ul>
          </ul>
        </ul>
      </ul>
    </blockquote>
    <tt><font color="#009900">c(3) = { list(%t) } // would even be
        simpler</font></tt><br>
    <blockquote cite="mid:56C60351.7080908@free.fr" type="cite">
      <ul>
        <ul>
          <ul>
            <ul>
              <li><tt>c(3) = list(%t, %z)</tt>    // mismatch could be
                handled softly in a comprehensive way<br>
              </li>
            </ul>
          </ul>
        </ul>
      </ul>
    </blockquote>
    <font color="#009900">Humm, better to avoid such an exception. =>
      should yield an error instead.<br>
      <br>
      SG<br>
    </font><br>
  </body>
</html>