|
<< Click to Display Table of Contents >> Navigation: All About ABAP Technique > English > ABAP Tutorial > ABAP Syntax > Chained Statement |
ABAP has classical language program caracteristic, that is, in every statement in main program or in block statement will be executed in sequence from the top to bottom.
Example :
No. |
Statement |
1 |
Data : a TYPE i, |
|
b TYPE i, |
|
c TYPE p DECIMALS 2. |
|
|
2 |
START-OF-SELECTION. |
3 |
a = 10. |
4 |
b = 100. |
5 |
c = a / b. |
6 |
WRITE : / 'Hitung : ', a, '/', b, '=', c. |
From the example above, ABAP will execute from number 1 to 6.