TEXHEIGHT

Finds the character height of the text strings
Operating state: GKOP, SGOP, WSAC, WSOP

Syntax

CALL GASK('TEXHEIGHT', height, return-code-variable);

Required Arguments

height
numeric variable name; returns the character height in units of the current window system.
return-code-variable
numeric variable name; returns the return code of the routine call, which can be 0 or 8. See Return Codes for DSGI Routines and Functions.

Details

The GASK('TEXHEIGHT', . . . ) routine returns the current text height. GASK('TEXHEIGHT', . . . ) searches for the current text height in the following order:
  1. the value selected in the GSET('TEXHEIGHT', . . . ) function, if specified
  2. the value of the HTEXT= graphics option, if specified
  3. the default text height, 1