h56066
s 00052/00000/00000
d D 1.1 83/01/22 20:46:44 tes 1 0
c date and time created 83/01/22 20:46:44 by tes
e
u
tes
mjb
U
t
T
I 1
subroutine rmvtxt (row, col, string)
########################################################################
#                                                                      #
#          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: Remove a text string from the current CRT              #
#                                                                      #
#     Input Parameters:                                                #
#            row - ascii row to display string                         #
#            col - ascii column to display string                      #
#            string - SHORTINT array of input characters               #
#                                                                      #
#     Output Parameters:                                               #
#            None                                                      #
#                                                                      #
#     Routines Called:                                                 #
#            None                                                      #
#                                                                      #
########################################################################
integer row, col
SHORTINT string(1)

integer i, ccol, xtemp, ytemp
SHORTINT locbuf(2), key

equivalence (locbuf(1), key)

call qsthsz (2, xtemp, ytemp)

# set text color as background color
call erase

ccol = col
i = 0
while (string(i+1) != NUL) {
   i = i + 1
   key = string(i)
   call qtext (row, ccol, locbuf)
   ccol = ccol + 1
   }

# set text color to white (on)
call appear

return
end
E 1
