h04262
s 00004/00003/00041
d D 1.2 83/02/03 00:46:43 tes 2 1
c modified apdata interface to include last item to display
e
s 00044/00000/00000
d D 1.1 83/01/20 11:08:35 tes 1 0
c date and time created 83/01/20 11:08:35 by tes
e
u
tes
mjb
U
t
T
I 1
D 2
subroutine apdata (start)
E 2
I 2
subroutine apdata (start, iend)
E 2
########################################################################
#                                                                      #
#          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: Display current data for a menu                        #
#                                                                      #
#     Input Parameters:                                                #
#            start - item number do begin display                      #
I 2
#            iend  - last item to be displayed                         #
E 2
#                                                                      #
#     Output Parameters:                                               #
#            None                                                      #
#                                                                      #
#     Routines Called:                                                 #
#            qtext - output text string at given location              #
#                                                                      #
########################################################################
D 2
integer start
E 2
I 2
integer start, iend
E 2

integer i, kount, row, column, cmdlen

include(`mnucom')

   call revers (1)
   i = 1
   kount = 1
D 2
   while (dtabfr(i) != 0) {
E 2
I 2
   while ((dtabfr(i) != 0) & (kount <= iend)) {
E 2
      cmdlen = dtabfr(i)
      row = dtabfr(i+1)
      column = dtabfr(i+2)
      if (kount >= start) call qtext (row, column, dtabfr(i+5))
      i = i + cmdlen              #jump to next field definition
      kount = kount + 1
      }
   call revers (0)

return
end
E 1
