Chapter Contents

Previous

Next
$REVERSw.

$REVERSw.



Writes character data in reverse order and left aligns

Category: Character
Alignment: left


Syntax
Syntax Description
Comparisons
Examples

Syntax

$REVERSw.

Syntax Description

w
specifies the width of the output field.
Default: 1
Range: 1-32767


Comparisons

The $REVERSw. format is similar to the $REVERJw. format except that $REVERJw. does not left align the result.


Examples

put @1 name $revers7.;

Values* 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.