[Scilab-users] case control statement
Claus Futtrup
cfuttrup at gmail.com
Sun Jan 22 15:58:41 CET 2017
Hi there
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:
select model
case 1,3,4 then
do something
case 2 then
do something
case 5 then
do something
end
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?
Best regards,
Claus
More information about the users
mailing list