$CHARw. Format

Writes standard character data.

Category: Character
Alignment: Left
Alias: $w.

Syntax

$CHARw.

Arguments

w

specifies the width of the output field.

Default The length of the output is the length of the input variable; if the input variable’s length is undefined, the default length is 8.
Range 1–32767

Comparisons

The $CHARw. and $w. formats are identical, and they do not trim leading blanks.

Example

Statements
Results
----+----1
select put ('XYZ',$char.);
XYZ

See Also

Formats:
Last updated: February 23, 2017