Hello Team,
In the below example & highlighted in Red is the output of the below program. In first write statement 1234567890 is displayed then write statement below datatest displays ABCDE, I am confused why 1234567890 again is displayed becuase in the 3rd write statment ABDCEFGHJK is written. I am looking ABCDE.... to be displayed twice not sure why numbers are dislayed twice, can some one please expalin me this ? Thansk in advance for your reply
TYPES word(10) TYPE c.
DATA text TYPE word.
text = '1234567890'. WRITE / text.
PERFORM datatest.
WRITE / text.
FORM datatest. TYPES word(5) TYPE c.
DATA text TYPE word. text = 'ABCDEFGHJK'.WRITE / text.
ENDFORM.
the following is displayed:
1234567890
ABCDE
1234567890
Regards,
Sachin