Previous Page | Next Page

Formats

$REVERSw. Format



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 if w is not specified
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.;

Name Results

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

Previous Page | Next Page | Top of Page