<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Hello Claus,<br>
No it's not possible. It has been suggested here:
<a 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 class="moz-txt-link-abbreviated" href="mailto:users@lists.scilab.org">users@lists.scilab.org</a>
<br>
<a 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>
</body>
</html>