<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Hello Stéphane,<br>
      <br>
      Le 16/02/2018 à 08:24, Stéphane Mottelet a écrit :<br>
    </div>
    <blockquote cite="mid:04f14e63-6657-02c7-07fb-669d13566da6@utc.fr"
      type="cite">Hello Samuel,
      <br>
      <br>
      It is a good initiative. Looking at your proposed code, I see that
      you use "execstr" on strings which are forged on the fly. Although
      the obtained expression will be faster (this was the goal), AFAIK
      such constructs are not "compilable" the same way as the straight
      expression. For the time being, Scilab does not use JIT
      compilation, but I think that such  constructs are typically not
      optimal and that it/then/else constructs should be used instead.
      <br>
    </blockquote>
    <br>
    Here, an if/then/else or rather select/case construct is not
    possible, since the number of cases is unknown, open, not limited.
    So the construct would anyway include a final <i>else</i> including
    an <i>execstr() </i>instruction.<br>
    <br>
    But, even if avoiding execstr() is not a priority, there is here
    another solution, that is now implemented.<br>
    <br>
    The final execstr() for the overloading routing can't be avoided.
    This is typically the case of the processing of open unknown cases.<br>
    <br>
    Samuel<br>
    <br>
  </body>
</html>