<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <br>
    <font face="Courier New, Courier, monospace">Samuel,<br>
    </font><br>
    <blockquote cite="mid:5164bd13-0053-d59e-0b2b-b6cb330bf739@free.fr"
      type="cite">You are right. The current test is very fragile.<br>
      The regular way would rather be<br>
      <br>
      <font size="-1"><tt>if
          fileparts(wavfile,"extension")<>"wav",</tt><tt><br>
        </tt><tt>   wavfile = wavfile+ ".wav"</tt><tt><br>
        </tt><tt>end</tt></font><br>
      <br>
      Maybe fileparts() did not yet exist when the code was written.<br>
    </blockquote>
    <br>
    I wasn't aware of fileparts, thank you.<br>
    <br>
    <blockquote cite="mid:5164bd13-0053-d59e-0b2b-b6cb330bf739@free.fr"
      type="cite"> Please do not hesitate to open another bug report to
      gather all this in a trackable place.<br>
    </blockquote>
    <br>
    OK, I've submitted it as bug 15981: <br>
    <br>
    <a class="moz-txt-link-freetext" href="http://bugzilla.scilab.org/show_bug.cgi?id=15981">http://bugzilla.scilab.org/show_bug.cgi?id=15981</a><br>
    <br>
    Regards,<br>
    <br>
    Federico Miyara<br>
  <div id="DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2"><br /> <table style="border-top: 1px solid #D3D4DE;">
        <tr>
      <td style="width: 55px; padding-top: 18px;"><a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient" target="_blank"><img src="https://ipmcdn.avast.com/images/icons/icon-envelope-tick-round-orange-animated-no-repeat-v1.gif" alt="" width="46" height="29" style="width: 46px; height: 29px;" /></a></td>
                <td style="width: 470px; padding-top: 17px; color: #41424e; font-size: 13px; font-family: Arial, Helvetica, sans-serif; line-height: 18px;">Libre de virus. <a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient" target="_blank" style="color: #4453ea;">www.avast.com</a>           </td>
        </tr>
</table>
<a href="#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2" width="1" height="1"> </a></div></body>
</html>