<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hi Samuel<br>
<br>
Thanks for the quick response. I'll convert to else-if control
statements ...<br>
<br>
Best regards,<br>
Claus<br>
<br>
On 22-01-2017 16:14, Samuel Gougeon wrote:<br>
</div>
<blockquote cite="mid:5884CC59.7070003@free.fr" type="cite">
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
<div class="moz-cite-prefix">Hello Claus,<br>
No it's not possible. It has been suggested here: <a
moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://bugzilla.scilab.org/6503">http://bugzilla.scilab.org/6503</a><br>
But chained <i>elseif </i>statements do the same in a fully
versatile way.<br>
HTH<br>
Samuel<br>
PS: BTW, i don't really understand the interest in the
select/case structure wrt the elseif one.<br>
select/case looks stiffer and less powerful.<br>
<br>
Le 22/01/2017 15:58, Claus Futtrup a écrit :<br>
</div>
<blockquote
cite="mid:46e683a5-22fe-7b34-db0c-a012f7456e02@gmail.com"
type="cite">Hi there <br>
<br>
I'd like to use the "case" control statement to select a few
options. I'm wondering, is it possible for a case to have
multiple options, I mean like this: <br>
<br>
select model <br>
<br>
case 1,3,4 then <br>
<br>
do something <br>
<br>
case 2 then <br>
<br>
do something <br>
<br>
case 5 then <br>
<br>
do something <br>
<br>
end <br>
<br>
Could I define [1 3 4] as a group of options and ask "CASE IN
GROUP" ... or how would I go about and implement this? <br>
<br>
Best regards, <br>
<br>
Claus <br>
<br>
_______________________________________________ <br>
users mailing list <br>
<a moz-do-not-send="true" class="moz-txt-link-abbreviated"
href="mailto:users@lists.scilab.org">users@lists.scilab.org</a>
<br>
<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://lists.scilab.org/mailman/listinfo/users">http://lists.scilab.org/mailman/listinfo/users</a>
<br>
<br>
</blockquote>
<br>
<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>
<p><br>
</p>
</body>
</html>