All the C/AL programs that you create consist of one or more statements, which are executed sequentially in top-down order. However, you will often need to control the direct top-down flow of the execution. One or more statements may have to be repeated more than once, or you may have to make the execution of a certain statement conditional. To do this, you use control structures.
The control structures in C/AL are divided into the following main groups:
1. Compound statements
2. Conditional statements
3. Repetitive statements
4. WITH statements
The control structures in C/AL are divided into the following main groups:
1. Compound statements
2. Conditional statements
3. Repetitive statements
4. WITH statements
No comments:
Post a Comment