TEXPATH

Finds the direction of the text string
Operating state: GKOP, SGOP, WSAC, WSOP

Syntax

CALL GASK('TEXPATH', path, return-code-variable);

Required Arguments

path
character variable name; returns one of the following values:
  • DOWN
  • LEFT
  • RIGHT
  • UP
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('TEXPATH', . . . ) routine returns the current text path (reading direction). If TEXPATH has not been previously selected with the GSET('TEXPATH', . . . ) function, GASK('TEXPATH', . . . ) returns the default value, RIGHT. See the TEXPATH for an illustration of text paths.