Kernel 8.0 APIs Banner
Office of Information and Technology (OIT) Banner
[skip navigation]

GSET^%ZISS: Set Up Graphic Variables

Reference Type: Supported, Category: Device Handler, ICR#: 10088

Description

The GSET^%ZISS API is used for screen management. It sets up graphic variables for screen handling. Graphics on/off is a toggle that remaps characters for use as graphics. Not all terminals need remapping, since they already have the high range of ASCII codes.

Format

  GSET^%ZISS

Make sure to perform the following steps before calling this API:

  1. NEW all non-namespaced variables.

  2. Set all input variables.

  3. Call the API.

Input Variables

IOST(0):

(required) Terminal Type.

Output Variables

IOBLC:

Bottom left corner.

IOBRC:

Bottom right corner.

IOBT:

Bottom "T".

IOG1:

Graphics on.

IOG0:

Graphics off.

IOHL:

Horizontal line.

IOLT:

Left "T".

IOMT:

Middle "T", or cross hair ("+").

IORT:

Right "T".

IOTLC:

Top left corner.

IOTRC:

Top right corner.

IOTT:

Top "T".

IOVL:

Vertical line.

Example

; write a horizontal line
D GSET^%ZISS
W IOG1
F I=1:1:20 W IOHL
W IOG0
D GKILL^%ZISS