- RIGHT-JUSTIFIED
- CENTERED
- LEFT-JUSTIFIED
- By default always characters are left justified and numbers are right justified.
Ex : Without Alignment.
Source Code
PARAMETERS : num TYPE i,
name(10) TYPE c.
WRITE : num , / name .
Save ->check -> Activate.
Input
Output
----------------------------------------------------
Ex : 2 . With alignment.
Source Code :
PARAMETERS : num TYPE i,
name(10) TYPE c.
WRITE : num LEFT-JUSTIFIED , / name RIGHT-JUSTIFIED.
Input
Output
--------------------------------------------------------------------------------------------
No comments:
Post a Comment