h55030
s 00000/00000/00041
d D 1.2 83/01/28 13:49:44 tes 2 1
c initial_internal_update
e
s 00041/00000/00000
d D 1.1 83/01/28 13:01:33 tes 1 0
c date and time created 83/01/28 13:01:33 by tes
e
u
tes
mjb
mrk
mmm
U
t
T
I 1
subroutine gpdev (device)
########################################################################
#                                                                      #
#          THIS MATERIAL IS CONFIDENTIAL AND IS FURNISHED UNDER        #
#          A WRITTEN LICENSE AGREEMENT.  IT MAY NOT BE USED,           #
#          COPIED OR DISCLOSED TO OTHERS EXCEPT IN ACCORDANCE          #
#          WITH THE TERMS OF THAT AGREEMENT.                           #
#                                                                      #
#          COPYRIGHT (C) 1982 GRAPHIC SOFTWARE SYSTEMS INC.            #
#          ALL RIGHTS RESERVED.                                        #
#                                                                      #
#     Function: change device                                          #
#                                                                      #
#     Input Parameters:                                                #
#            device - graphic device                                   #
#                                                                      #
#     Output Parameters:                                               #
#            none                                                      #
#                                                                      #
#     Routines Called:                                                 #
#              gpsatt - Set an attribute on the current device         #
#              gkopdv - open a new device                              #
#              imove  - Modify the current position                    #
#                                                                      #
########################################################################
integer device

integer idum

include(`pltcom')

DxB write (DEBUGxUNIT, 100) device
DxB 100 format (' gpdev:', i5)
 
   call imove (ABSOLUTE, zxabsl, zyabsl)   # Dump polyline buffer
   call gpsatt (CLOSExWORKSTATION, 0, idum)  # Terminate any open workstations

   call gkopdv (device)  # Open new device

   return
end
E 1
