$REVERSw. Format

Writes character data in reverse order and left aligns.

Category: Character
Alignment: Left

Syntax

$REVERSw.

Arguments

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.

Example

Statements1
Results
----+----1
select put('ABCD###',$revers7);
DCBA
select put('###ABCD',$revers7.);
DCBA
1The character # represents a blank space.

See Also

Formats: