Do...EndDo
Ex :
- Go to transaction code SE38.
- Enter the program name Z or Y<program name>
- Select attribute type as Executable program.
- Click on Save.
Source Code
Data : count type I.
Parameters : num type I.
count = 1.
Do num times.
write : / count.
count = count + 1.
enddo.
Input
Output
No comments:
Post a Comment