looping statements
while loop.
REPORT ZWHILE_PROGRAM.
data var type i value 1.while var <= 10.
write: / var.
var = var + 1.
endwhile.
Do loop.
REPORT ZDO_PROGRAM.
data var type i value 1.do 10 times.
write: var.
add 2 to var.
enddo.
while loop.
REPORT ZWHILE_PROGRAM.
data var type i value 1.
Comments
Post a Comment