Language Reference

CWIDTH

CWIDTH

Query the character width as a percentage of the window width.

Item

Description

 

 

Preset State

full window, 1.87

Description

Query Response

The CWIDTH query computes the character width as a percentage of the window width. This command is necessary for programs that want to adjust their graphics and TEXT displays depending on the window size. The characters remain the same size regardless of what size the window is. The units of the number returned is percent. For Example, executing the CWIDTH query on a full-screen window display returns 1.87. That is, the character width is 1.87% of the window width where the window is 53 (100 4 1.87) characters wide.

See Also CHEIGHT, TEXT, PA, PR

7-107