block:
repeat:

main program


    

the method


    

printed output

Step through repeat. Green marks the line being run; amber marks your block. The block can change total because it was written next to it.