Please enable JavaScript to view this site.

This program will right justify a string. This should be used in conjunction either with “Align to grid” or a fixed width font in your design. You pass your string in PARM1 and the number of characters you wish to output in PARM2. The justified string is returned in PARM1 with length as defined by PARM2.

Parameter

In

Len

Out

Len

PARM1

String

132

String right justified to specified number of characters

132

PARM2

Number of characters

3

-

 

PARM3

-

 

-

 

PARM4

-

 

-

 

PARM5

-

 

-

 

PARM6

-

 

-