code: def _num_values(self, zVar, varNum):
          '''
          Determines the number of values in a record.
          Set zVar=True if this is a zvariable.
          '''
          values = 1
          if (zVar == True):
              numDims = self.zvarsinfo[varNum][2]
              dimSizes = self.zvarsinfo[varNum][3]
              dimVary = self.zvarsinfo[varNum][4]
          else:
              numDims = self.rvarsinfo[varNum][2]
              dimSizes = self.rvarsinfo[varNum][3]
              dimVary = self.rvarsinfo[varNum][4]
          if (numDims < 1):
              return values
          else:
              for x in range(0, numDims):
                  if (zVar == True):
                      values = values * dimSizes[x]
                  else:
                      if (dimVary[x] != 0):
                          values = values * dimSizes[x]
              return valuef _num_values(self, zVar, varNum):
          '''
          Determines the number of values in a record.
          Set zVar=True if this is a zvariable.
          '''
          values = 1
          if (zVar == True):
              numDims = self.zvarsinfo[varNum][2]
              dimSizes = self.zvarsinfo[varNum][3]
              dimVary = self.zvarsinfo[varNum][4]
          else:
              numDims = self.rvarsinfo[varNum][2]
              dimSizes = self.rvarsinfo[varNum][3]
              dimVary = self.rvarsinfo[varNum][4]
          if (numDims < 1):
              return values
          else:
              for x in range(0, numDims):
                  if (zVar == True):
                      values = values * dimSizes[x]
                  else:
                      if (dimVary[x] != 0):
                          values = values * dimSizes[x]
              return values
docs: Determines the number of values in a record.
          Set zVar=True if this is a zvariable.