Monday, 30 May 2016

Do...EndDo

Do...EndDo

Ex :

  1. Go to transaction code SE38.
  2. Enter the program name Z or Y<program name>
  3. Select attribute type as Executable program.
  4. 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