continue statement
continue statement.
continue statement used to skip the current iteration of loop
REPORT ZCONTINUE_PROGRAM.
data var type i value 1.while var < 10.
if var = 5.
continue.
else.
write : / var.
endif.
endwhile.
explanation:
the variable var starts from 1 to 10.if the var is equals to 5 the continue that means 5 will not prints.
Comments
Post a Comment