<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 11/04/2016 15:10, Jan-Åge Langeland
      a écrit :<br>
    </div>
    <blockquote cite="mid:570BA248.7050305@online.no" type="cite">
      <meta content="text/html; charset=windows-1252"
        http-equiv="Content-Type">
      <br>
      <div class="moz-cite-prefix">On 11.04.2016 07:27, Samuel Gougeon
        wrote:<br>
      </div>
      <blockquote cite="mid:570B35D5.7020000@free.fr" type="cite">
        <meta http-equiv="content-type" content="text/html;
          charset=windows-1252">
        <font face="Arial">Hello,<br>
          <br>
          With Scilab 6, [a, ,c] = (%pi, %z, "Text") sets c = %z 
          instead of  c = "Text".<br>
          Is it expected, or is it a bug?<br>
          Is there a way to skip a recipient with respect to its source?<br>
          <br>
          Samuel</font>
      </blockquote>
      <br>
      Some surprises here:<br>
      <br>
      --> [a]=(1,2,3)<br>
       a  = <br>
         1.<br>
    </blockquote>
    Indeed. Surprisingly, assignments are done from right to left!, with
    Scilab 5.5.2 as well as with Scilab 6:<br>
    <tt>--> [a, b, a] = (%pi, %t, "test")</tt><tt><br>
    </tt><tt> a  = </tt><tt><br>
    </tt><tt> test   </tt><tt><br>
    </tt><tt> b  =</tt><tt><br>
    </tt><tt>  T  </tt><tt><br>
    </tt><tt> a  =</tt><tt><br>
    </tt><tt>    3.1415927  </tt><tt><br>
    </tt><br>
    But when the list of recipients is shorter, only the left sources
    are considered:<br>
    <tt>--> [a, b] = (%pi, %t, "test")</tt><tt><br>
    </tt><tt> b  = </tt><tt><br>
    </tt><tt>  T</tt><tt><br>
    </tt><tt> a  = </tt><tt><br>
    </tt><tt>   3.1415927</tt><tt><br>
    </tt><br>
    Quite counter-intuitive.<br>
    <br>
  </body>
</html>