<html>
  <head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Hello all,<br>
    <br>
    It seems that the overloading code ascribed to the Scilab function
    type is not the same in Scilab 6 than in Scilab 5:<br>
    <font face="Arial"><br>
    </font><b><font color="#cc33cc">in Scilab 5:</font></b><font
      face="Arial"><br>
    </font><tt>[sind sind]</tt><tt><br>
    </tt><tt>function %mc_c_mc(a,b), disp("code is mc"), endfunction</tt><tt><br>
    </tt><tt>[sind sind]<br>
    </tt><br>
    <tt>-->[sind sind]</tt><tt><br>
    </tt><tt>        !--error 144 </tt><tt><br>
    </tt><tt>Undefined operation for the given operands.</tt><tt><br>
    </tt><tt>check or define function %<b>mc</b>_c_<b>mc</b> for
      overloading.</tt><tt><br>
    </tt><tt> </tt><tt><br>
    </tt><tt>-->function %<b>mc</b>_c_<b>mc</b>(a,b), disp("code is
      ""mc"""), endfunction</tt><tt><br>
    </tt><tt> </tt><tt><br>
    </tt><tt>-->[sind sind]</tt><tt><br>
    </tt><tt> code is ""mc""   </tt><tt><br>
    </tt><tt> </tt><tt> </tt><br>
    <b><font color="#cc33cc">in Scilab 6:</font></b><tt><br>
      --> [sind sind]<br>
      <br>
      Undefined operation for the given operands.<br>
      check or define function %<b>function</b>_c_<b>function</b> for
      overloading.<br>
      <br>
      --> function %<b>mc</b>_c_<b>mc</b>(a,b), disp("code is mc"),
      endfunction<br>
      <br>
      --> [sind sind]    // mc does not work. This is not just a bad
      error message:<br>
      <br>
      Undefined operation for the given operands.<br>
      check or define function %function_c_function for overloading.<br>
      <br>
      --> function %function_c_function(a,b), disp("code is
      ""function"""), endfunction<br>
      <br>
      --> [sind sind]<br>
      <br>
       code is "function"<br>
       ans  =<br>
          []<br>
      <br>
    </tt>I have not tested all operators, but at least this is also the
    case for the vertical concatenation [;].<br>
    It this change intentional? It is not documented.<br>
    <br>
    I am wondering why -- if back-compatibility is not an issue -- other
    changes more expected are not done for Scilab 6 as well?<br>
    <br>
    Best regards<br>
    Samuel Gougeon<br>
    <tt><br>
    </tt>
  </body>
</html>