Diferencia entre revisiones de «Prog18: Cómo interrumpir bucles»
De MateWiki
| Línea 6: | Línea 6: | ||
{{#ev:youtube|39WIhmcbvzs|800|center}} | {{#ev:youtube|39WIhmcbvzs|800|center}} | ||
| + | |||
| + | == Para saber más == | ||
| + | |||
| + | * [http://www.gnu.org/software/octave/doc/interpreter/The-break-Statement.html#The-break-Statement ''break'' statement] (GNU Octave) | ||
| + | * [http://www.gnu.org/software/octave/doc/interpreter/The-continue-Statement.html#The-continue-Statement ''continue'' statement] (GNU Octave) | ||
| + | * [http://www.mathworks.es/es/help/matlab/ref/break.html ''break'' statement] (MATLAB) | ||
| + | * [http://www.mathworks.es/es/help/matlab/ref/continue.html ''continue'' statement] (MATLAB) | ||
[[Categoría:Curso de Introducción a la Programación]] | [[Categoría:Curso de Introducción a la Programación]] | ||
Revisión del 14:37 11 jun 2013
| Curso de Introducción a la programación | |
|---|---|
| Cómo interrumpir bucles | |
| Vídeo anterior | Siguiente vídeo |
| Este artículo es una unidad didáctica del Curso de Introducción a la Programación | |
En ocasiones puede ser necesario terminar un bucle antes de lo previsto inicialmente, o saltar una iteración antes de que termine y continuar con la siguiente. En este vídeo veremos en qué situaciones puede ser útil, y cómo hacerlos.
1 Vídeo
2 Para saber más
- break statement (GNU Octave)
- continue statement (GNU Octave)
- break statement (MATLAB)
- continue statement (MATLAB)