The GASK('DEVICE',
. . . ) routine returns the current device. This routine returns the
device set by one of the following methods:
-
the GSET('DEVICE', . . . ) function
-
the DEVICE= graphics option
-
the device that you entered in
the DEVICE prompt window
-
the device that you entered in
the
OPTIONS window.
There is no default
value for a device. To use DSGI, you must specify a device.
For more information about
devices, see Overriding the Default Device.