h58098
s 00046/00000/00000
d D 1.1 83/01/20 11:13:25 tes 1 0
c date and time created 83/01/20 11:13:25 by tes
e
u
tes
mjb
U
t
T
I 1
subroutine nxtpos (iptr, row, column, mode)
########################################################################
#                                                                      #
#          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: Return the position and mode of the next data area     #
#                                                                      #
#     Input Parameters:                                                #
#            iptr - pointer to current data area                       #
#                                                                      #
#     Output Parameters:                                               #
#            iptr - pointer to current data area                       #
#            row  - row of next data area                              #
#            column - column of next data area                         #
#            mode - mode of next data area                             #
#                                                                      #
#     Routines Called:                                                 #
#            None                                                      #
#                                                                      #
########################################################################
integer iptr, row, column, mode

integer length

include(`mnucom')

if (dtabfr(1) > 0) {   # make sure that we've got a choice defined
   length = dtabfr(iptr+3)
   iptr = iptr + dtabfr(iptr)
   row = dtabfr(iptr+1)
   if (dtabfr(iptr) == 0) {
      iptr = 1
      row =dtabfr(2)
      }
   column = dtabfr(iptr+2)
   mode = dtabfr(iptr+4)
   }

return
end
E 1
