$REVERJw. Informat

Reads character data from right to left and preserves blanks.
Category: Character

Syntax

$REVERJw.

Syntax Description

w
specifies the width of the input field.
Default:1 if w is not specified
Range:1–32767

Comparisons

The $REVERJw. informat is similar to the $REVERSw. informat except that $REVERSw. informat left aligns the result by removing all leading blanks.

Example

The following example uses ABCD as the input value.
input @1 name $reverj7.;
Values
Results
----+----1
ABCD
###DCBA
    ABCD
DCBA###1
1The character # represents a blank space.

See Also

Informat: