Block Loops

Handel supports block loops. Block loops begin with the block keyword and end with the endblock keyword and a loop for digit or loop while condition customization.

Here is an example two block loops in Handel.

start
block
play C3, E3, G3 for 1b
play D3, F3, A3 for 1b
endblock loop for 2
save note = C2
block
play note for 1b
update note rshift 1
endblock loop while note lessthan C3
finish

Block loops are blocking (no pun intended), and should not be confused with Handel's procedures (chunks).

More on procedures below.