Chapter Contents

Previous

Next
$REVERSw.

$REVERSw.



Reads character data from right to left and left aligns

Category: Character


Syntax
Syntax Description
Comparisons
Examples

Syntax

$REVERSw.

Syntax Description

w
specifies the width of the input field.
Default: 1 if the length of the variable is undefined; otherwise, the length of the variable
Range: 1-32767


Comparisons

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


Examples

input @1 name $revers7.;

Data Lines Results*
----+----1
   ABCD
DCBA###
   ABCD
DCBA###
*The character # represents a blank space.


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.