X-Git-Url: http://git.etherboot.org/people/lynusvaz/gpxe.git/blobdiff_plain/d4463f3200f62c7a6da7e61dc1f85ea96d1c100d..917fa47074045e186f23209b11e833fdffc275d3:/src/tests/while.gpxe diff --git a/src/tests/while.gpxe b/src/tests/while.gpxe index c0ccf285..c2a565b3 100644 --- a/src/tests/while.gpxe +++ b/src/tests/while.gpxe @@ -9,9 +9,22 @@ while $(${a} > 0) echo ${a}, ${b} if $(${b} == 5) set b 2 + for c in 2 3 5 7 11 13 17 19 + echo "c = ${c}" + done continue fi set b $(${b} - 1) done set a $(${a} - 1) done + +for i in 1 2 3 4 5 6 7 8 + if $(${i} == 5) + continue + fi + if $(${i} == 7) + break + fi + echo "i = ${i}" +done