Previous Page | Next Page

Formats

$REVERJw. Format



Writes character data in reverse order and preserves blanks.
Category: Character
Alignment: right

Syntax
Syntax Description
Comparisons
Examples

Syntax

$REVERJw.

Syntax Description

w

specifies the width of the output field.

Default: 1 if w is not specified
Range: 1-32767

Comparisons

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


Examples

put @1 name $reverj7.;

Name Results

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

Previous Page | Next Page | Top of Page