$REVERSw. Informat

Reads character data from right to left, and then left aligns the text.
Category: Character

Syntax

$REVERSw.

Syntax Description

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

Comparisons

The $REVERSw. informat is similar to the $REVERJw. informat except that $REVERJw. informat preserves all leading and trailing blanks.

Example

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

See Also

Informat: