[Scilab-users] Nested while loops
Claus Futtrup
cfuttrup at gmail.com
Tue Aug 8 19:48:16 CEST 2017
Hi Chris
To the best of my knowledge such nested while loops should be no
problem. It should work.
To show the problem, for us to test and see, could you create an
executable script, which fails?
Best regards,
Claus
On 08-08-2017 19:19, Chris Gardner wrote:
> To solve a problem I am working on, I would like to nest several while loops (up to maybe 10 serially) within another while loop. The structure I need is something like:
>
> for i = 1:N
>
> while (condition 1)
> action 1
>
> while (condition 2)
> action 2
> end
>
> while (condition 3)
> action 3
> end
>
> while (condition 4
> action 4
> end
>
> action 5
>
> end
>
> end
>
> I have tried to implement this but have had trouble getting it to work. Should it work?
>
> Thanks, Chris
> _______________________________________________
> users mailing list
> users at lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/users
>
More information about the users
mailing list