GDDM-GKS V1R1 Programming Guide and Reference
Previous topic | Next topic | Contents | Index | Contact z/OS | Library | PDF | BOOK


GSTXP

GDDM-GKS V1R1 Programming Guide and Reference
SC33-0334-00



Purpose



 GSTXP  (txp)
   
 APL code  1333
 GKS RCP code  X'38002100' (939532544)
   


Function: To set text path.

Attribute function. Sets the current text path for text output primitives.

Parameters


txp (specified by user) (fullword integer)
The direction in which characters are placed, relative to the previous character position. The possible values are:

0 (GRIGHT)
Right
1 (GLEFT)
Left
2 (GUP)
Up
3 (GDOWN)
Down

Operating states


GKOP, WSOP, WSAC, SGOP

Related functions


Inquire text path (GQTXP)

Description


The "current text path" entry in the GKS state list is set to the value given by txp. This value is used when creating subsequent text output primitives. The text path is the direction of placement of characters relative to the preceding character on the workstation.

If this function is not used, GDDM-GKS uses the default value right.

Principal errors


8
GKS not in proper state: GKS shall be in one of the states GKOP, WSOP, WSAC, or SGOP

Go to the previous page Go to the next page



Copyright IBM Corporation 1990, 2012