Statements and loops are used to control the execution flow of a program and most programming tasks would be impossible without them.
In AX, you have access to the following statements and loops:
for loop can be used if the code at runtime knows how many times it should loop through a piece of code before the loop starts. The pseudocode of a
for loop in AX is the same as any
for loop in most programming languages derived from the C programming language. It is actually called a three-expression
for loop, since it is made up of three steps: