====== Iteration ====== {{:wiki:encyclopedia:iteration.png?direct&400|}} An iteration is an element repeated zero or more times, marked with an asterisk. If A contains *B, the valid variants are nothing at all, B, BB, BBBB and so on. If B in turn consists of B1 and B2, the valid variants are B1B2, B1B2B1B2 and so on. The loop condition is not written: the diagram shows what is repeated, not when the repetition stops. Notes on the number of repetitions may be added beside the diagram, but they are not part of it.