<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">Dear Samuel,<br>
<br>
OK, very clear. I have added some comments there.<br>
<br>
Now I'm curious why the "then" keyword has been included in Scilab
(but allowed to leave it out).<br>
<br>
In my opinion it is an unnecessary addition to the select case
construct from other languages such as Fortran.<br>
<br>
Regards,<br>
<br>
Federico<br>
<br>
<br>
<br>
<br>
<br>
<br>
</font><br>
<div class="moz-cite-prefix">On 08/03/2019 18:23, Samuel Gougeon
wrote:<br>
</div>
<blockquote cite="mid:2da72fb8-5e77-bed8-7d35-910268e5aaa1@free.fr"
type="cite">
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
<div class="moz-cite-prefix">Hello Federico,<br>
<br>
I have nothing to add to comments posted for the <a
moz-do-not-send="true"
href="http://bugzilla.scilab.org/show_bug.cgi?id=14940">bug
14940</a> about this topic.<br>
<br>
Le 08/03/2019 à 20:46, Federico Miyara a écrit :<br>
</div>
<blockquote cite="mid:5C82C68D.7020207@fceia.unr.edu.ar"
type="cite">
<meta http-equiv="content-type" content="text/html;
charset=windows-1252">
<br>
<font face="Courier New, Courier, monospace">Dear all,<br>
<br>
I've seen that Scilab accepts the conditional switch clause
like Matlab and C, and it seems to work as expected. But when
one attemps to get help </font><font face="Courier New,
Courier, monospace">on </font><font face="Courier New,
Courier, monospace">switch the result refers to a switch block
from Xcos.<br>
<br>
Indeed, it is not documented among the control flow keywords.<br>
<br>
I wonder if it is or will be deprecated, and if it is
advisable not to use it and use select instead (like in
Fortran and Basic).<br>
</font></blockquote>
<blockquote cite="mid:5C82C68D.7020207@fceia.unr.edu.ar"
type="cite"><font face="Courier New, Courier, monospace"> <br>
The mfile2sci function converts the switch clauses to select.<br>
</font></blockquote>
<br>
Yes, it's enough.<font face="Courier New, Courier, monospace"><br>
<br>
</font>
<blockquote cite="mid:5C82C68D.7020207@fceia.unr.edu.ar"
type="cite"><font face="Courier New, Courier, monospace"> <br>
Thank you.<br>
<br>
Regards, <br>
<br>
Federico Miyara</font></blockquote>
<br>
Regards<br>
Samuel<br>
<br>
<br>
<div id="DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2"><br>
<table style="border-top: 1px solid #D3D4DE;">
<tbody>
<tr>
<td style="width: 55px; padding-top: 18px;"><a
moz-do-not-send="true"
href="http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient"
target="_blank"><img moz-do-not-send="true"
src="https://ipmcdn.avast.com/images/icons/icon-envelope-tick-green-avg-v1.png"
alt="" style="width: 46px; height: 29px;"
height="29" width="46"></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
moz-do-not-send="true"
href="http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient"
target="_blank" style="color: #4453ea;"><a class="moz-txt-link-abbreviated" href="http://www.avg.com">www.avg.com</a></a>
</td>
</tr>
</tbody>
</table>
<a moz-do-not-send="true"
href="#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2" width="1"
height="1"> </a></div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:users@lists.scilab.org">users@lists.scilab.org</a>
<a class="moz-txt-link-freetext" href="http://lists.scilab.org/mailman/listinfo/users">http://lists.scilab.org/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>