Samuel,

You are right. The current test is very fragile.
The regular way would rather be

if fileparts(wavfile,"extension")<>"wav",
   wavfile = wavfile+ ".wav"
end

Maybe fileparts() did not yet exist when the code was written.

I wasn't aware of fileparts, thank you.

Please do not hesitate to open another bug report to gather all this
in a trackable place.

OK, I've submitted it as bug 15981:

http://bugzilla.scilab.org/show_bug.cgi?id=15981

Regards,

Federico Miyara


---
El software de antivirus Avast ha analizado este correo electrónico en busca de 
virus.
https://www.avast.com/antivirus
_______________________________________________
users mailing list
[email protected]
http://lists.scilab.org/mailman/listinfo/users

Reply via email to