Re: [Scilab-users] Question on switch

2019-03-09 Thread Samuel Gougeon
Le 09/03/2019 à 01:45, Federico Miyara a écrit : Dear Samuel, OK, very clear. I have added some comments there. Now I'm curious why the "then" keyword has been included in Scilab (but allowed to leave it out). In my opinion it is an unnecessary addition to the select case construct from oth

Re: [Scilab-users] Question on switch

2019-03-08 Thread Federico Miyara
Dear Samuel, OK, very clear. I have added some comments there. Now I'm curious why the "then" keyword has been included in Scilab (but allowed to leave it out). In my opinion it is an unnecessary addition to the select case construct from other languages such as Fortran. Regards, Federic

Re: [Scilab-users] Question on switch

2019-03-08 Thread Samuel Gougeon
Hello Federico, I have nothing to add to comments posted for the bug 14940 about this topic. Le 08/03/2019 à 20:46, Federico Miyara a écrit : Dear all, I've seen that Scilab accepts the conditional switch clause like Matlab and C, and it

[Scilab-users] Question on switch

2019-03-08 Thread Federico Miyara
Dear all, 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 on switch the result refers to a switch block from Xcos. Indeed, it is not documented among the control flow keywords. I wonder if it is o