Reads character data from right to left, and then left aligns
the text.
-
w
-
specifies the width of the input field.
Default: |
1 if w is not specified |
Range: |
1-32767 |
The
$REVERSw. informat is similar to the $REVERJw.
informat except that $REVERJw. informat preserves
all leading and trailing blanks.
The following example uses ABCD as the input value.
input @1 name $revers7.;
Values |
Results |
|
----+----1
|
ABCD
|
DCBA###
|
ABCD
|
DCBA###
|
*
The # character represents a blank space. |
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.